EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #141 background imageLoading...
Page #141 background image
UM1940
HAL CRYP Generic Driver
DocID028236 Rev 2
141/1371
(CRYP_HandleTypeDef * hcryp)
Function description
DeInitializes the CRYP peripheral.
Parameters
hcryp: pointer to a CRYP_HandleTypeDef structure that
contains the configuration information for CRYP module
Return values
HAL: status
HAL_CRYP_MspInit
Function name
void HAL_CRYP_MspInit (CRYP_HandleTypeDef * hcryp)
Function description
Initializes the CRYP MSP.
Parameters
hcryp: pointer to a CRYP_HandleTypeDef structure that
contains the configuration information for CRYP module
Return values
None:
HAL_CRYP_MspDeInit
Function name
void HAL_CRYP_MspDeInit (CRYP_HandleTypeDef * hcryp)
Function description
DeInitializes CRYP MSP.
Parameters
hcryp: pointer to a CRYP_HandleTypeDef structure that
contains the configuration information for CRYP module
Return values
None:
HAL_CRYP_AESECB_Encrypt
Function name
HAL_StatusTypeDef HAL_CRYP_AESECB_Encrypt
(CRYP_HandleTypeDef * hcryp, uint8_t * pPlainData, uint16_t
Size, uint8_t * pCypherData, uint32_t Timeout)
Function description
Initializes the CRYP peripheral in AES ECB encryption mode then
encrypt pPlainData.
Parameters
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
Return values
HAL: status
HAL_CRYP_AESECB_Decrypt
Function name
HAL_StatusTypeDef HAL_CRYP_AESECB_Decrypt
(CRYP_HandleTypeDef * hcryp, uint8_t * pCypherData,
uint16_t Size, uint8_t * pPlainData, uint32_t Timeout)
Function description
Initializes the CRYP peripheral in AES ECB decryption mode then
decrypted pCypherData.
Parameters
hcryp: pointer to a CRYP_HandleTypeDef structure that
contains the configuration information for CRYP module
pCypherData: Pointer to the cyphertext buffer

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals