1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-23 00:02:39 +03:00

Implement hmac in the MD layer

This commit is contained in:
Manuel Pégourié-Gonnard
2015-03-24 16:48:22 +01:00
parent 40fc4155d3
commit 8379a82a76
4 changed files with 65 additions and 5 deletions

View File

@@ -78,6 +78,10 @@ typedef struct {
/** Digest-specific context */
void *md_ctx;
/** HMAC part of the context (WIP: fixed size) */
unsigned char ipad[128];
unsigned char opad[128];
} md_context_t;
#define MD_CONTEXT_T_INIT { \