mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 08:43:02 +00:00
Make ipad/opad dynamic and more opaque
This commit is contained in:
@@ -79,9 +79,8 @@ typedef struct {
|
||||
/** Digest-specific context */
|
||||
void *md_ctx;
|
||||
|
||||
/** HMAC part of the context (WIP: fixed size) */
|
||||
unsigned char ipad[128];
|
||||
unsigned char opad[128];
|
||||
/** HMAC part of the context */
|
||||
void *hmac_ctx;
|
||||
} md_context_t;
|
||||
|
||||
#define MD_CONTEXT_T_INIT { \
|
||||
|
||||
Reference in New Issue
Block a user