mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 11:28:14 +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
|