STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
CRYP Private macros to check input parameters
Collaboration diagram for CRYP Private macros to check input parameters:

Macros

#define IS_CRYP_ALGORITHM(ALGORITHM)
 
#define IS_CRYP_KEYSIZE(KEYSIZE)
 
#define IS_CRYP_DATATYPE(DATATYPE)
 
#define IS_CRYP_INIT(CONFIG)
 

Detailed Description

Macro Definition Documentation

◆ IS_CRYP_ALGORITHM

#define IS_CRYP_ALGORITHM ( ALGORITHM)

#include <stm32f4xx_hal_cryp.h>

Value:
(((ALGORITHM) == CRYP_AES_ECB) || \
((ALGORITHM) == CRYP_AES_CBC) || \
((ALGORITHM) == CRYP_AES_CTR) || \
((ALGORITHM) == CRYP_AES_GCM_GMAC)|| \
((ALGORITHM) == CRYP_AES_CCM))
#define CRYP_AES_ECB
#define CRYP_AES_CBC
#define CRYP_AES_GCM_GMAC
#define CRYP_AES_CCM
#define CRYP_AES_CTR

Definition at line 593 of file stm32f4xx_hal_cryp.h.

Referenced by HAL_CRYP_Init(), and HAL_CRYP_SetConfig().

◆ IS_CRYP_KEYSIZE

#define IS_CRYP_KEYSIZE ( KEYSIZE)

#include <stm32f4xx_hal_cryp.h>

Value:
(((KEYSIZE) == CRYP_KEYSIZE_128B) || \
((KEYSIZE) == CRYP_KEYSIZE_256B))
#define CRYP_KEYSIZE_128B
#define CRYP_KEYSIZE_256B

Definition at line 600 of file stm32f4xx_hal_cryp.h.

Referenced by HAL_CRYP_Init(), and HAL_CRYP_SetConfig().

◆ IS_CRYP_DATATYPE

#define IS_CRYP_DATATYPE ( DATATYPE)

#include <stm32f4xx_hal_cryp.h>

Value:
(((DATATYPE) == CRYP_DATATYPE_32B) || \
((DATATYPE) == CRYP_DATATYPE_16B) || \
((DATATYPE) == CRYP_DATATYPE_8B) || \
((DATATYPE) == CRYP_DATATYPE_1B))
#define CRYP_DATATYPE_8B
#define CRYP_DATATYPE_1B
#define CRYP_DATATYPE_16B
#define CRYP_DATATYPE_32B

Definition at line 604 of file stm32f4xx_hal_cryp.h.

Referenced by HAL_CRYP_Init(), and HAL_CRYP_SetConfig().

◆ IS_CRYP_INIT

#define IS_CRYP_INIT ( CONFIG)

#include <stm32f4xx_hal_cryp.h>

Value:
(((CONFIG) == CRYP_KEYIVCONFIG_ALWAYS) || \
((CONFIG) == CRYP_KEYIVCONFIG_ONCE))
#define CRYP_KEYIVCONFIG_ONCE
#define CRYP_KEYIVCONFIG_ALWAYS

Definition at line 609 of file stm32f4xx_hal_cryp.h.

Referenced by HAL_CRYP_Init().