Functions | |
__STATIC_INLINE void | ll_aes_enable (aes_regs_t *AESx) |
Enable AES. More... | |
__STATIC_INLINE void | ll_aes_disable (aes_regs_t *AESx) |
Disable AES. More... | |
__STATIC_INLINE uint32_t | ll_aes_is_enabled (aes_regs_t *AESx) |
Indicate whether the AES is enabled. More... | |
__STATIC_INLINE void | ll_aes_enable_start (aes_regs_t *AESx) |
Enable AES start in MCU mode. More... | |
__STATIC_INLINE void | ll_aes_disable_start (aes_regs_t *AESx) |
Disable AES start in MCU mode. More... | |
__STATIC_INLINE uint32_t | ll_aes_is_enabled_start (aes_regs_t *AESx) |
Indicate whether the AES start in MCU mode is enabled. More... | |
__STATIC_INLINE void | ll_aes_enable_dma_start (aes_regs_t *AESx) |
Enable AES DMA mode. More... | |
__STATIC_INLINE void | ll_aes_disable_dma_start (aes_regs_t *AESx) |
Disable AES DMA mode. More... | |
__STATIC_INLINE uint32_t | ll_aes_is_enabled_dma_start (aes_regs_t *AESx) |
Indicate whether the AES DMA mode is enabled. More... | |
__STATIC_INLINE void | ll_aes_enable_read_key (aes_regs_t *AESx) |
Enable fetch key through AHB/key port. More... | |
__STATIC_INLINE void | ll_aes_set_key_size (aes_regs_t *AESx, uint32_t size) |
Set AES key size. More... | |
__STATIC_INLINE uint32_t | ll_aes_get_key_size (aes_regs_t *AESx) |
Get AES key size. More... | |
__STATIC_INLINE void | ll_aes_enable_full_mask (aes_regs_t *AESx) |
Enable AES full mask. More... | |
__STATIC_INLINE void | ll_aes_disable_full_mask (aes_regs_t *AESx) |
Disable AES full mask. More... | |
__STATIC_INLINE uint32_t | ll_aes_is_enabled_full_mask (aes_regs_t *AESx) |
Indicate whether the AES full mask is enabled. More... | |
__STATIC_INLINE void | ll_aes_enable_encryption (aes_regs_t *AESx) |
Enable AES encryption mode. More... | |
__STATIC_INLINE void | ll_aes_disable_encryption (aes_regs_t *AESx) |
Disable AES encryption mode. More... | |
__STATIC_INLINE uint32_t | ll_aes_is_enabled_encryption (aes_regs_t *AESx) |
Indicate whether the AES encryption mode is enabled. More... | |
__STATIC_INLINE void | ll_aes_set_load_seed (aes_regs_t *AESx) |
Set AES to load seed for LFSR. More... | |
__STATIC_INLINE void | ll_aes_set_first_block (aes_regs_t *AESx) |
Set AES in first block before starting the first block in normal CBC and DMA CBC mode. More... | |
__STATIC_INLINE void | ll_aes_enable_little_endian (aes_regs_t *AESx) |
Enable AES in little endian. More... | |
__STATIC_INLINE void | ll_aes_disable_little_endian (aes_regs_t *AESx) |
Disable AES in little endian. More... | |
__STATIC_INLINE uint32_t | ll_aes_is_enabled_little_endian (aes_regs_t *AESx) |
Indicate whether the AES is in little endian. More... | |
__STATIC_INLINE void | ll_aes_set_operation_mode (aes_regs_t *AESx, uint32_t mode) |
Set AES operation mode. More... | |
__STATIC_INLINE uint32_t | ll_aes_get_operation_mode (aes_regs_t *AESx) |
Get AES operation mode. More... | |
__STATIC_INLINE void | ll_aes_set_key_type (aes_regs_t *AESx, uint32_t Type) |
Set ways to obtain AES key. More... | |
__STATIC_INLINE uint32_t | ll_aes_get_key_type (aes_regs_t *AESx) |
Get ways to obtain AES key. More... | |
__STATIC_INLINE void ll_aes_disable | ( | aes_regs_t * | AESx | ) |
Disable AES.
Register|BitsName ---------------|--------------- CTRL | MODULE_EN
AESx | AES instance |
None |
Definition at line 210 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_disable_dma_start | ( | aes_regs_t * | AESx | ) |
Disable AES DMA mode.
Register|BitsName ---------------|--------------- CTRL | DMA_MODE_EN
AESx | AES instance |
None |
Definition at line 300 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_disable_encryption | ( | aes_regs_t * | AESx | ) |
Disable AES encryption mode.
Register|BitsName ---------------|--------------- CFG | DEC_ENC_SEL
AESx | AES instance |
None |
Definition at line 442 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_disable_full_mask | ( | aes_regs_t * | AESx | ) |
Disable AES full mask.
Register|BitsName ---------------|--------------- CFG | FULL_MASK_EN
AESx | AES instance |
None |
Definition at line 397 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_disable_little_endian | ( | aes_regs_t * | AESx | ) |
Disable AES in little endian.
Register|BitsName ---------------|--------------- CFG | ENDIAN
AESx | AES instance |
None |
Definition at line 517 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_disable_start | ( | aes_regs_t * | AESx | ) |
Disable AES start in MCU mode.
Register|BitsName ---------------|--------------- CTRL | MCU_MODE_EN
AESx | AES instance |
None |
Definition at line 255 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_enable | ( | aes_regs_t * | AESx | ) |
Enable AES.
Register|BitsName ---------------|--------------- CTRL | MODULE_EN
AESx | AES instance |
None |
Definition at line 195 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_enable_dma_start | ( | aes_regs_t * | AESx | ) |
Enable AES DMA mode.
Register|BitsName ---------------|--------------- CTRL | DMA_MODE_EN
AESx | AES instance |
None |
Definition at line 285 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_enable_encryption | ( | aes_regs_t * | AESx | ) |
Enable AES encryption mode.
Register|BitsName ---------------|--------------- CFG | DEC_ENC_SEL
AESx | AES instance |
None |
Definition at line 427 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_enable_full_mask | ( | aes_regs_t * | AESx | ) |
Enable AES full mask.
Register|BitsName ---------------|--------------- CFG | FULL_MASK_EN
AESx | AES instance |
None |
Definition at line 382 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_enable_little_endian | ( | aes_regs_t * | AESx | ) |
Enable AES in little endian.
Register|BitsName ---------------|--------------- CFG | ENDIAN
AESx | AES instance |
None |
Definition at line 502 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_enable_read_key | ( | aes_regs_t * | AESx | ) |
Enable fetch key through AHB/key port.
Register|BitsName ---------------|--------------- CTRL | FKEY_EN
AESx | AES instance |
None |
Definition at line 330 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_enable_start | ( | aes_regs_t * | AESx | ) |
Enable AES start in MCU mode.
Register|BitsName ---------------|--------------- CTRL | MCU_MODE_EN
AESx | AES instance |
None |
Definition at line 240 of file gr55xx_ll_aes.h.
__STATIC_INLINE uint32_t ll_aes_get_key_size | ( | aes_regs_t * | AESx | ) |
Get AES key size.
Register|BitsName ---------------|--------------- CFG | KEY_MODE
AESx | AES instance |
Returned | value can be one of the following values: |
Definition at line 367 of file gr55xx_ll_aes.h.
__STATIC_INLINE uint32_t ll_aes_get_key_type | ( | aes_regs_t * | AESx | ) |
Get ways to obtain AES key.
Register|BitsName ---------------|--------------- CFG | KEY_TYPE
AESx | AES instance |
Returned | value can be one of the following values: |
Definition at line 604 of file gr55xx_ll_aes.h.
__STATIC_INLINE uint32_t ll_aes_get_operation_mode | ( | aes_regs_t * | AESx | ) |
Get AES operation mode.
Register|BitsName ---------------|--------------- CFG | OPT_MODE
AESx | AES instance |
Returned | value can be one of the following values: |
Definition at line 567 of file gr55xx_ll_aes.h.
__STATIC_INLINE uint32_t ll_aes_is_enabled | ( | aes_regs_t * | AESx | ) |
Indicate whether the AES is enabled.
Register|BitsName ---------------|--------------- CTRL | MODULE_EN
AESx | AES instance |
State | of bit (1 or 0). |
Definition at line 225 of file gr55xx_ll_aes.h.
__STATIC_INLINE uint32_t ll_aes_is_enabled_dma_start | ( | aes_regs_t * | AESx | ) |
Indicate whether the AES DMA mode is enabled.
Register|BitsName ---------------|--------------- CTRL | DMA_MODE_EN
AESx | AES instance |
State | of bit (1 or 0). |
Definition at line 315 of file gr55xx_ll_aes.h.
__STATIC_INLINE uint32_t ll_aes_is_enabled_encryption | ( | aes_regs_t * | AESx | ) |
Indicate whether the AES encryption mode is enabled.
Register|BitsName ---------------|--------------- CFG | DEC_ENC_SEL
AESx | AES instance |
State | of bit (1 or 0). |
Definition at line 457 of file gr55xx_ll_aes.h.
__STATIC_INLINE uint32_t ll_aes_is_enabled_full_mask | ( | aes_regs_t * | AESx | ) |
Indicate whether the AES full mask is enabled.
Register|BitsName ---------------|--------------- CFG | FULL_MASK_EN
AESx | AES instance |
State | of bit (1 or 0). |
Definition at line 412 of file gr55xx_ll_aes.h.
__STATIC_INLINE uint32_t ll_aes_is_enabled_little_endian | ( | aes_regs_t * | AESx | ) |
Indicate whether the AES is in little endian.
Register|BitsName ---------------|--------------- CFG | ENDIAN
AESx | AES instance |
State | of bit (1 or 0). |
Definition at line 532 of file gr55xx_ll_aes.h.
__STATIC_INLINE uint32_t ll_aes_is_enabled_start | ( | aes_regs_t * | AESx | ) |
Indicate whether the AES start in MCU mode is enabled.
Register|BitsName ---------------|--------------- CTRL | MCU_MODE_EN
AESx | AES instance |
State | of bit (1 or 0). |
Definition at line 270 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_set_first_block | ( | aes_regs_t * | AESx | ) |
Set AES in first block before starting the first block in normal CBC and DMA CBC mode.
Register|BitsName ---------------|--------------- CFG | FIRST_BLK
AESx | AES instance |
None |
Definition at line 487 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_set_key_size | ( | aes_regs_t * | AESx, |
uint32_t | size | ||
) |
Set AES key size.
Register|BitsName ---------------|--------------- CFG | KEY_MODE
AESx | AES instance |
size | This parameter can be one of the following values: |
None |
Definition at line 349 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_set_key_type | ( | aes_regs_t * | AESx, |
uint32_t | Type | ||
) |
Set ways to obtain AES key.
Register|BitsName ---------------|--------------- CFG | KEY_TYPE
AESx | AES instance |
Type | This parameter can be one of the following values: |
None |
Definition at line 586 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_set_load_seed | ( | aes_regs_t * | AESx | ) |
Set AES to load seed for LFSR.
Register|BitsName ---------------|--------------- CFG | LOAD_SEED
AESx | AES instance |
None |
Definition at line 472 of file gr55xx_ll_aes.h.
__STATIC_INLINE void ll_aes_set_operation_mode | ( | aes_regs_t * | AESx, |
uint32_t | mode | ||
) |
Set AES operation mode.
Register|BitsName ---------------|--------------- CFG | OPT_MODE
AESx | AES instance |
mode | This parameter can be one of the following values: |
None |
Definition at line 550 of file gr55xx_ll_aes.h.