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_HMAC_Long_key_only_for_HMAC_mode

Macros

#define HASH_HMACKeyType_ShortKey   ((uint32_t)0x00000000)
 
#define HASH_HMACKeyType_LongKey   ((uint32_t)0x00010000)
 
#define IS_HASH_HMAC_KEYTYPE(KEYTYPE)
 

Detailed Description

Macro Definition Documentation

#define HASH_HMACKeyType_LongKey   ((uint32_t)0x00010000)

HMAC Key is > 64 bytes

#define HASH_HMACKeyType_ShortKey   ((uint32_t)0x00000000)

HMAC Key is <= 64 bytes

#define IS_HASH_HMAC_KEYTYPE (   KEYTYPE)
Value:
(((KEYTYPE) == HASH_HMACKeyType_ShortKey) || \
((KEYTYPE) == HASH_HMACKeyType_LongKey))