High Level MD5 Hash and HMAC functions.
More...
|
ErrorStatus | HASH_MD5 (uint8_t *Input, uint32_t Ilen, uint8_t Output[16]) |
| Compute the HASH MD5 digest. More...
|
|
ErrorStatus | HMAC_MD5 (uint8_t *Key, uint32_t Keylen, uint8_t *Input, uint32_t Ilen, uint8_t Output[16]) |
| Compute the HMAC MD5 digest. More...
|
|
High Level MD5 Hash and HMAC functions.
===============================================================================
High Level MD5 Hash and HMAC functions
===============================================================================
ErrorStatus HASH_MD5 |
( |
uint8_t * |
Input, |
|
|
uint32_t |
Ilen, |
|
|
uint8_t |
Output[16] |
|
) |
| |
Compute the HASH MD5 digest.
- Parameters
-
Input,: | pointer to the Input buffer to be treated. |
Ilen,: | length of the Input buffer. |
Output,: | the returned digest |
- Return values
-
An | ErrorStatus enumeration value:
- SUCCESS: digest computation done
- ERROR: digest computation failed
|
ErrorStatus HMAC_MD5 |
( |
uint8_t * |
Key, |
|
|
uint32_t |
Keylen, |
|
|
uint8_t * |
Input, |
|
|
uint32_t |
Ilen, |
|
|
uint8_t |
Output[16] |
|
) |
| |
Compute the HMAC MD5 digest.
- Parameters
-
Key,: | pointer to the Key used for HMAC. |
Keylen,: | length of the Key used for HMAC. |
Input,: | pointer to the Input buffer to be treated. |
Ilen,: | length of the Input buffer. |
Output,: | the returned digest |
- Return values
-
An | ErrorStatus enumeration value:
- SUCCESS: digest computation done
- ERROR: digest computation failed
|