mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 22:06:38 +01:00
Implement hmac in the MD layer
This commit is contained in:
parent
40fc4155d3
commit
8379a82a76
4 changed files with 65 additions and 5 deletions
|
|
@ -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 { \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue