STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
HASH_Algo_Selection

Macros

#define HASH_AlgoSelection_SHA1   ((uint16_t)0x0000)
 
#define HASH_AlgoSelection_MD5   ((uint16_t)0x0080)
 
#define IS_HASH_ALGOSELECTION(ALGOSELECTION)
 

Detailed Description

Macro Definition Documentation

#define HASH_AlgoSelection_MD5   ((uint16_t)0x0080)

HASH function is MD5

#define HASH_AlgoSelection_SHA1   ((uint16_t)0x0000)

HASH function is SHA1

#define IS_HASH_ALGOSELECTION (   ALGOSELECTION)
Value:
(((ALGOSELECTION) == HASH_AlgoSelection_SHA1) || \
((ALGOSELECTION) == HASH_AlgoSelection_MD5))