CARME-M4 BSP  V1.5

High Level MD5 Hash and HMAC functions. More...

+ Collaboration diagram for High Level MD5 functions:

Functions

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...
 

Detailed Description

High Level MD5 Hash and HMAC functions.

 ===============================================================================
              ##### High Level MD5 Hash and HMAC functions #####
 ===============================================================================

Function Documentation

ErrorStatus HASH_MD5 ( uint8_t *  Input,
uint32_t  Ilen,
uint8_t  Output[16] 
)

Compute the HASH MD5 digest.

Parameters
Inputpointer to the Input buffer to be treated.
Ilenlength of the Input buffer.
Outputthe returned digest
Return values
AnErrorStatus enumeration value:
  • SUCCESS: digest computation done
  • ERROR: digest computation failed

Definition at line 93 of file stm32f4xx_hash_md5.c.

+ Here is the call graph for this function:

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
Keypointer to the Key used for HMAC.
Keylenlength of the Key used for HMAC.
Inputpointer to the Input buffer to be treated.
Ilenlength of the Input buffer.
Outputthe returned digest
Return values
AnErrorStatus enumeration value:
  • SUCCESS: digest computation done
  • ERROR: digest computation failed

Definition at line 168 of file stm32f4xx_hash_md5.c.

+ Here is the call graph for this function: