Functions | |
__STATIC_INLINE void | ll_hmac_enable (hmac_regs_t *HMACx) |
Enable HMAC. More... | |
__STATIC_INLINE void | ll_hmac_disable (hmac_regs_t *HMACx) |
Disable HMAC. More... | |
__STATIC_INLINE uint32_t | ll_hmac_is_enabled (hmac_regs_t *HMACx) |
Indicate whether the HMAC is enabled. More... | |
__STATIC_INLINE void | ll_hmac_enable_dma_start (hmac_regs_t *HMACx) |
Enable HMAC DMA mode. More... | |
__STATIC_INLINE void | ll_hmac_disable_dma_start (hmac_regs_t *HMACx) |
Disable HMAC DMA mode. More... | |
__STATIC_INLINE uint32_t | ll_hmac_is_enabled_dma_start (hmac_regs_t *HMACx) |
Indicate whether the HMAC DMA mode is enabled. More... | |
__STATIC_INLINE void | ll_hmac_enable_read_key (hmac_regs_t *HMACx) |
Enable fetch key through AHB/key port. More... | |
__STATIC_INLINE void | ll_hmac_enable_last_transfer (hmac_regs_t *HMACx) |
Enable last block transfer in MCU/DMA mode. More... | |
__STATIC_INLINE void | ll_hmac_enable_user_hash (hmac_regs_t *HMACx) |
Enable user HASH. More... | |
__STATIC_INLINE void | ll_hmac_disable_user_hash (hmac_regs_t *HMACx) |
Disable user HASH. More... | |
__STATIC_INLINE uint32_t | ll_hmac_is_enabled_user_hash (hmac_regs_t *HMACx) |
Indicate whether the user HASH is enabled. More... | |
__STATIC_INLINE void | ll_hmac_enable_little_endian (hmac_regs_t *HMACx) |
Enable HMAC in little endian. More... | |
__STATIC_INLINE void | ll_hmac_disable_little_endian (hmac_regs_t *HMACx) |
Disable HMAC in little endian. More... | |
__STATIC_INLINE uint32_t | ll_hmac_is_enabled_little_endian (hmac_regs_t *HMACx) |
Indicate whether the HMAC is in little endian. More... | |
__STATIC_INLINE void | ll_hmac_set_key_type (hmac_regs_t *HMACx, uint32_t type) |
Set ways to obtain HMAC key. More... | |
__STATIC_INLINE uint32_t | ll_hmac_get_key_type (hmac_regs_t *HMACx) |
Get ways to obtain HMAC key. More... | |
__STATIC_INLINE void | ll_hmac_enable_sha (hmac_regs_t *HMACx) |
Enable SHA mode. More... | |
__STATIC_INLINE void | ll_hmac_disable_sha (hmac_regs_t *HMACx) |
Disable SHA mode. More... | |
__STATIC_INLINE uint32_t | ll_hmac_is_enabled_sha (hmac_regs_t *HMACx) |
Indicate whether the SHA mode is enabled. More... | |
__STATIC_INLINE void | ll_hmac_enable_private (hmac_regs_t *HMACx) |
Enable private mode. More... | |
__STATIC_INLINE void | ll_hmac_disable_private (hmac_regs_t *HMACx) |
Disable private mode. More... | |
__STATIC_INLINE uint32_t | ll_hmac_is_enabled_private (hmac_regs_t *HMACx) |
Indicate whether the private mode is enabled. More... | |
__STATIC_INLINE void ll_hmac_disable | ( | hmac_regs_t * | HMACx | ) |
Disable HMAC.
Register|BitsName ---------------|--------------- CTRL | EN
HMACx | HMAC instance |
None |
Definition at line 206 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_disable_dma_start | ( | hmac_regs_t * | HMACx | ) |
Disable HMAC DMA mode.
Register|BitsName ---------------|--------------- CTRL | DMA_START
HMACx | HMAC instance |
None |
Definition at line 251 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_disable_little_endian | ( | hmac_regs_t * | HMACx | ) |
Disable HMAC in little endian.
Register|BitsName ---------------|--------------- CFG | ENDIAN
HMACx | HMAC instance |
None |
Definition at line 371 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_disable_private | ( | hmac_regs_t * | HMACx | ) |
Disable private mode.
Register|BitsName ---------------|--------------- CFG | PRIVT_MODE
HMACx | HMAC instance |
None |
Definition at line 498 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_disable_sha | ( | hmac_regs_t * | HMACx | ) |
Disable SHA mode.
Register|BitsName ---------------|--------------- CFG | CALC_TYPE
HMACx | HMAC instance |
None |
Definition at line 453 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_disable_user_hash | ( | hmac_regs_t * | HMACx | ) |
Disable user HASH.
Register|BitsName ---------------|--------------- CFG | HASH
HMACx | HMAC instance |
None |
Definition at line 326 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_enable | ( | hmac_regs_t * | HMACx | ) |
Enable HMAC.
Register|BitsName ---------------|--------------- CTRL | EN
HMACx | HMAC instance |
None |
Definition at line 191 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_enable_dma_start | ( | hmac_regs_t * | HMACx | ) |
Enable HMAC DMA mode.
Register|BitsName ---------------|--------------- CTRL | DMA_START
HMACx | HMAC instance |
None |
Definition at line 236 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_enable_last_transfer | ( | hmac_regs_t * | HMACx | ) |
Enable last block transfer in MCU/DMA mode.
Register|BitsName ---------------|--------------- CTRL | LST_TX
HMACx | HMAC instance |
None |
Definition at line 296 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_enable_little_endian | ( | hmac_regs_t * | HMACx | ) |
Enable HMAC in little endian.
Register|BitsName ---------------|--------------- CFG | ENDIAN
HMACx | HMAC instance |
None |
Definition at line 356 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_enable_private | ( | hmac_regs_t * | HMACx | ) |
Enable private mode.
Register|BitsName ---------------|--------------- CFG | PRIVT_MODE
HMACx | HMAC instance |
None |
Definition at line 483 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_enable_read_key | ( | hmac_regs_t * | HMACx | ) |
Enable fetch key through AHB/key port.
Register|BitsName ---------------|--------------- CTRL | KEY_EN
HMACx | HMAC instance |
None |
Definition at line 281 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_enable_sha | ( | hmac_regs_t * | HMACx | ) |
Enable SHA mode.
Register|BitsName ---------------|--------------- CFG | CALC_TYPE
HMACx | HMAC instance |
None |
Definition at line 438 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_enable_user_hash | ( | hmac_regs_t * | HMACx | ) |
Enable user HASH.
Register|BitsName ---------------|--------------- CFG | HASH
HMACx | HMAC instance |
None |
Definition at line 311 of file gr55xx_ll_hmac.h.
__STATIC_INLINE uint32_t ll_hmac_get_key_type | ( | hmac_regs_t * | HMACx | ) |
Get ways to obtain HMAC key.
Register|BitsName ---------------|--------------- CFG | KEY_TYPE
HMACx | HMAC instance |
Returned | value can be one of the following values: |
Definition at line 423 of file gr55xx_ll_hmac.h.
__STATIC_INLINE uint32_t ll_hmac_is_enabled | ( | hmac_regs_t * | HMACx | ) |
Indicate whether the HMAC is enabled.
Register|BitsName ---------------|--------------- CTRL | EN
HMACx | HMAC instance |
State | of bit (1 or 0). |
Definition at line 221 of file gr55xx_ll_hmac.h.
__STATIC_INLINE uint32_t ll_hmac_is_enabled_dma_start | ( | hmac_regs_t * | HMACx | ) |
Indicate whether the HMAC DMA mode is enabled.
Register|BitsName ---------------|--------------- CTRL | DMA_START
HMACx | HMAC instance |
State | of bit (1 or 0). |
Definition at line 266 of file gr55xx_ll_hmac.h.
__STATIC_INLINE uint32_t ll_hmac_is_enabled_little_endian | ( | hmac_regs_t * | HMACx | ) |
Indicate whether the HMAC is in little endian.
Register|BitsName ---------------|--------------- CFG | ENDIAN
HMACx | HMAC instance |
State | of bit (1 or 0). |
Definition at line 386 of file gr55xx_ll_hmac.h.
__STATIC_INLINE uint32_t ll_hmac_is_enabled_private | ( | hmac_regs_t * | HMACx | ) |
Indicate whether the private mode is enabled.
Register|BitsName ---------------|--------------- CFG | PRIVT_MODE
HMACx | HMAC instance |
State | of bit (1 or 0). |
Definition at line 513 of file gr55xx_ll_hmac.h.
__STATIC_INLINE uint32_t ll_hmac_is_enabled_sha | ( | hmac_regs_t * | HMACx | ) |
Indicate whether the SHA mode is enabled.
Register|BitsName ---------------|--------------- CFG | CALC_TYPE
HMACx | HMAC instance |
State | of bit (1 or 0). |
Definition at line 468 of file gr55xx_ll_hmac.h.
__STATIC_INLINE uint32_t ll_hmac_is_enabled_user_hash | ( | hmac_regs_t * | HMACx | ) |
Indicate whether the user HASH is enabled.
Register|BitsName ---------------|--------------- CFG | HASH
HMACx | HMAC instance |
State | of bit (1 or 0). |
Definition at line 341 of file gr55xx_ll_hmac.h.
__STATIC_INLINE void ll_hmac_set_key_type | ( | hmac_regs_t * | HMACx, |
uint32_t | type | ||
) |
Set ways to obtain HMAC key.
Register|BitsName ---------------|--------------- CFG | KEY_TYPE
HMACx | HMAC instance |
type | This parameter can be one of the following values: |
None |
Definition at line 405 of file gr55xx_ll_hmac.h.