|
STM32L4xx_HAL_Driver
1.14.0
|
Header file of CRYP HAL module. More...
Go to the source code of this file.
Data Structures | |
| struct | __CRYP_HandleTypeDef |
| CRYP handle Structure definition. More... | |
Typedefs | |
| typedef struct __CRYP_HandleTypeDef | CRYP_HandleTypeDef |
| CRYP handle Structure definition. More... | |
| typedef void(* | pCRYP_CallbackTypeDef) (CRYP_HandleTypeDef *hcryp) |
| HAL CRYP Callback pointer definition. More... | |
Functions | |
| HAL_StatusTypeDef | HAL_CRYP_Init (CRYP_HandleTypeDef *hcryp) |
| Initialize the CRYP according to the specified parameters in the CRYP_InitTypeDef and initialize the associated handle. More... | |
| HAL_StatusTypeDef | HAL_CRYP_DeInit (CRYP_HandleTypeDef *hcryp) |
| DeInitialize the CRYP peripheral. More... | |
| void | HAL_CRYP_MspInit (CRYP_HandleTypeDef *hcryp) |
| Initialize the CRYP MSP. More... | |
| void | HAL_CRYP_MspDeInit (CRYP_HandleTypeDef *hcryp) |
| DeInitialize CRYP MSP. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESECB_Encrypt (CRYP_HandleTypeDef *hcryp, uint8_t *pPlainData, uint16_t Size, uint8_t *pCypherData, uint32_t Timeout) |
| Encrypt pPlainData in AES ECB encryption mode. The cypher data are available in pCypherData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESECB_Decrypt (CRYP_HandleTypeDef *hcryp, uint8_t *pCypherData, uint16_t Size, uint8_t *pPlainData, uint32_t Timeout) |
| Decrypt pCypherData in AES ECB decryption mode with key derivation, the decyphered data are available in pPlainData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCBC_Encrypt (CRYP_HandleTypeDef *hcryp, uint8_t *pPlainData, uint16_t Size, uint8_t *pCypherData, uint32_t Timeout) |
| Encrypt pPlainData in AES CBC encryption mode with key derivation. The cypher data are available in pCypherData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCBC_Decrypt (CRYP_HandleTypeDef *hcryp, uint8_t *pCypherData, uint16_t Size, uint8_t *pPlainData, uint32_t Timeout) |
| Decrypt pCypherData in AES ECB decryption mode with key derivation, the decyphered data are available in pPlainData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCTR_Encrypt (CRYP_HandleTypeDef *hcryp, uint8_t *pPlainData, uint16_t Size, uint8_t *pCypherData, uint32_t Timeout) |
| Encrypt pPlainData in AES CTR encryption mode. The cypher data are available in pCypherData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCTR_Decrypt (CRYP_HandleTypeDef *hcryp, uint8_t *pCypherData, uint16_t Size, uint8_t *pPlainData, uint32_t Timeout) |
| Decrypt pCypherData in AES CTR decryption mode, the decyphered data are available in pPlainData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESECB_Encrypt_IT (CRYP_HandleTypeDef *hcryp, uint8_t *pPlainData, uint16_t Size, uint8_t *pCypherData) |
| Encrypt pPlainData in AES ECB encryption mode using Interrupt, the cypher data are available in pCypherData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCBC_Encrypt_IT (CRYP_HandleTypeDef *hcryp, uint8_t *pPlainData, uint16_t Size, uint8_t *pCypherData) |
| Encrypt pPlainData in AES CBC encryption mode using Interrupt, the cypher data are available in pCypherData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCTR_Encrypt_IT (CRYP_HandleTypeDef *hcryp, uint8_t *pPlainData, uint16_t Size, uint8_t *pCypherData) |
| Encrypt pPlainData in AES CTR encryption mode using Interrupt, the cypher data are available in pCypherData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESECB_Decrypt_IT (CRYP_HandleTypeDef *hcryp, uint8_t *pCypherData, uint16_t Size, uint8_t *pPlainData) |
| Decrypt pCypherData in AES ECB decryption mode using Interrupt, the decyphered data are available in pPlainData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCTR_Decrypt_IT (CRYP_HandleTypeDef *hcryp, uint8_t *pCypherData, uint16_t Size, uint8_t *pPlainData) |
| Decrypt pCypherData in AES CTR decryption mode using Interrupt, the decyphered data are available in pPlainData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCBC_Decrypt_IT (CRYP_HandleTypeDef *hcryp, uint8_t *pCypherData, uint16_t Size, uint8_t *pPlainData) |
| Decrypt pCypherData in AES CBC decryption mode using Interrupt, the decyphered data are available in pPlainData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESECB_Encrypt_DMA (CRYP_HandleTypeDef *hcryp, uint8_t *pPlainData, uint16_t Size, uint8_t *pCypherData) |
| Encrypt pPlainData in AES ECB encryption mode using DMA, the cypher data are available in pCypherData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESECB_Decrypt_DMA (CRYP_HandleTypeDef *hcryp, uint8_t *pCypherData, uint16_t Size, uint8_t *pPlainData) |
| Decrypt pCypherData in AES ECB decryption mode using DMA, the decyphered data are available in pPlainData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCBC_Encrypt_DMA (CRYP_HandleTypeDef *hcryp, uint8_t *pPlainData, uint16_t Size, uint8_t *pCypherData) |
| Encrypt pPlainData in AES CBC encryption mode using DMA, the cypher data are available in pCypherData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCBC_Decrypt_DMA (CRYP_HandleTypeDef *hcryp, uint8_t *pCypherData, uint16_t Size, uint8_t *pPlainData) |
| Decrypt pCypherData in AES CBC decryption mode using DMA, the decyphered data are available in pPlainData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCTR_Encrypt_DMA (CRYP_HandleTypeDef *hcryp, uint8_t *pPlainData, uint16_t Size, uint8_t *pCypherData) |
| Encrypt pPlainData in AES CTR encryption mode using DMA, the cypher data are available in pCypherData. More... | |
| HAL_StatusTypeDef | HAL_CRYP_AESCTR_Decrypt_DMA (CRYP_HandleTypeDef *hcryp, uint8_t *pCypherData, uint16_t Size, uint8_t *pPlainData) |
| Decrypt pCypherData in AES CTR decryption mode using DMA, the decyphered data are available in pPlainData. More... | |
| void | HAL_CRYP_InCpltCallback (CRYP_HandleTypeDef *hcryp) |
| Input DMA transfer complete callback. More... | |
| void | HAL_CRYP_OutCpltCallback (CRYP_HandleTypeDef *hcryp) |
| Output DMA transfer complete callback. More... | |
| void | HAL_CRYP_ErrorCallback (CRYP_HandleTypeDef *hcryp) |
| CRYP error callback. More... | |
| HAL_StatusTypeDef | HAL_CRYP_RegisterCallback (CRYP_HandleTypeDef *hcryp, HAL_CRYP_CallbackIDTypeDef CallbackID, pCRYP_CallbackTypeDef pCallback) |
| Register a User CRYP Callback To be used instead of the weak (surcharged) predefined callback. More... | |
| HAL_StatusTypeDef | HAL_CRYP_UnRegisterCallback (CRYP_HandleTypeDef *hcryp, HAL_CRYP_CallbackIDTypeDef CallbackID) |
| Unregister a CRYP Callback CRYP Callback is redirected to the weak (surcharged) predefined callback. More... | |
| void | HAL_CRYP_IRQHandler (CRYP_HandleTypeDef *hcryp) |
| Handle AES interrupt request. More... | |
| HAL_CRYP_STATETypeDef | HAL_CRYP_GetState (CRYP_HandleTypeDef *hcryp) |
| Return the CRYP handle state. More... | |
| uint32_t | HAL_CRYP_GetError (CRYP_HandleTypeDef *hcryp) |
| Return the CRYP peripheral error. More... | |
Variables | |
| C | |
Header file of CRYP HAL module.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32l4xx_hal_cryp.h.
| typedef struct __CRYP_HandleTypeDef CRYP_HandleTypeDef |
CRYP handle Structure definition.
| typedef void(* pCRYP_CallbackTypeDef) (CRYP_HandleTypeDef *hcryp) |
HAL CRYP Callback pointer definition.
pointer to a CRYP common callback functions
Definition at line 207 of file stm32l4xx_hal_cryp.h.
HAL CRYP common Callback ID enumeration definition.
Definition at line 140 of file stm32l4xx_hal_cryp.h.
HAL CRYP State structures definition.
Definition at line 86 of file stm32l4xx_hal_cryp.h.
| enum HAL_PhaseTypeDef |
HAL CRYP phase structures definition.
Definition at line 99 of file stm32l4xx_hal_cryp.h.
| enum HAL_SuspendTypeDef |
HAL CRYP mode suspend definitions.
| Enumerator | |
|---|---|
| HAL_CRYP_SUSPEND_NONE | CRYP peripheral suspension not requested |
| HAL_CRYP_SUSPEND | CRYP peripheral suspension requested |
Definition at line 117 of file stm32l4xx_hal_cryp.h.
| C |