1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-10-16 22:27:59 +03:00

Don’t allocate extra memory in add_hmac_digest, use hmac_v functions

This commit is contained in:
Ivan Grokhotkov
2017-05-08 22:02:41 +08:00
committed by Ivan Grokhotkov
parent 48d0f114bb
commit da7ab4ade2
2 changed files with 17 additions and 14 deletions

View File

@@ -132,7 +132,7 @@ typedef struct
uint8_t padding_size;
uint8_t digest_size;
uint8_t key_block_size;
hmac_func hmac;
hmac_func_v hmac_v;
crypt_func encrypt;
crypt_func decrypt;
} cipher_info_t;