mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
10 lines
306 B
C
10 lines
306 B
C
#ifndef __HMAC_H__
|
|
#define __HMAC_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
void hmac_sha256(const uint8_t *key, const uint32_t keylen, const uint8_t *msg, const uint32_t msglen, uint8_t *hmac);
|
|
void hmac_sha512(const uint8_t *key, const uint32_t keylen, const uint8_t *msg, const uint32_t msglen, uint8_t *hmac);
|
|
|
|
#endif
|