1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 06:18:07 +00:00
trezor-firmware/hmac.h

10 lines
306 B
C
Raw Normal View History

2013-09-10 19:47:06 +00:00
#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