(CRYP_HandleTypeDef * hcryp)
DeInitializes the CRYP peripheral.
hcryp: pointer to a CRYP_HandleTypeDef structure that
contains the configuration information for CRYP module
HAL_CRYP_MspInit
void HAL_CRYP_MspInit (CRYP_HandleTypeDef * hcryp)
Initializes the CRYP MSP.
hcryp: pointer to a CRYP_HandleTypeDef structure that
contains the configuration information for CRYP module
HAL_CRYP_MspDeInit
void HAL_CRYP_MspDeInit (CRYP_HandleTypeDef * hcryp)
hcryp: pointer to a CRYP_HandleTypeDef structure that
contains the configuration information for CRYP module
HAL_CRYP_AESECB_Encrypt
HAL_StatusTypeDef HAL_CRYP_AESECB_Encrypt
(CRYP_HandleTypeDef * hcryp, uint8_t * pPlainData, uint16_t
Size, uint8_t * pCypherData, uint32_t Timeout)
Initializes the CRYP peripheral in AES ECB encryption mode then
encrypt pPlainData.
hcryp: pointer to a CRYP_HandleTypeDef structure that
contains the configuration information for CRYP module
pPlainData: Pointer to the plaintext buffer
Size: Length of the plaintext buffer, must be a multiple of 16.
pCypherData: Pointer to the cyphertext buffer
Timeout: Specify Timeout value
HAL_CRYP_AESECB_Decrypt
HAL_StatusTypeDef HAL_CRYP_AESECB_Decrypt
(CRYP_HandleTypeDef * hcryp, uint8_t * pCypherData,
uint16_t Size, uint8_t * pPlainData, uint32_t Timeout)
Initializes the CRYP peripheral in AES ECB decryption mode then
decrypted pCypherData.
hcryp: pointer to a CRYP_HandleTypeDef structure that
contains the configuration information for CRYP module
pCypherData: Pointer to the cyphertext buffer