6 #define HMAC_BITS SHA256_HASH_BITS
7 #define HMAC_BYTES (HMAC_BITS/8)
9 typedef sha256_ctx_t hmac_sha256_ctx_t;
12 void hmac_sha256_init(hmac_sha256_ctx_t *s, void* key, uint16_t kl);
13 void hmac_sha256_final(hmac_sha256_ctx_t *s, void* key, uint16_t kl);
14 void hmac_sha256(void* dest, void* key, uint16_t kl, void* msg, uint64_t ml);
17 #endif /*HMACSHA256_H_*/