mirror of
https://github.com/esp8266/Arduino.git
synced 2025-10-15 11:26:40 +03:00
Introduce HMAC functions operating on vectors
This commit is contained in:
committed by
Ivan Grokhotkov
parent
abec528002
commit
48d0f114bb
@@ -203,6 +203,16 @@ void hmac_sha1(const uint8_t *msg, int length, const uint8_t *key,
|
||||
void hmac_sha256(const uint8_t *msg, int length, const uint8_t *key,
|
||||
int key_len, uint8_t *digest);
|
||||
|
||||
/**************************************************************************
|
||||
* HMAC functions operating on vectors
|
||||
**************************************************************************/
|
||||
void hmac_md5_v(const uint8_t **msg, int* length, int count, const uint8_t *key,
|
||||
int key_len, uint8_t *digest);
|
||||
void hmac_sha1_v(const uint8_t **msg, int* length, int count, const uint8_t *key,
|
||||
int key_len, uint8_t *digest);
|
||||
void hmac_sha256_v(const uint8_t **msg, int* length, int count, const uint8_t *key,
|
||||
int key_len, uint8_t *digest);
|
||||
|
||||
/**************************************************************************
|
||||
* RSA declarations
|
||||
**************************************************************************/
|
||||
|
Reference in New Issue
Block a user