1.2.2.2.5.1.2.3 MW_AES_CbcDecryptInit
C
uint16_t MW_AES_CbcDecryptInit(MW_AES_Ctx_T * p_ctx, uint8_t *p_aesKey, uint8_t *p_iv);
Description
The API is used to initialize AES CBC block cipher decryption.
Parameters
Parameter | Description |
---|---|
[out] p_ctx | Pointer to the structure of AES context. Refer to MW_AES_Ctx_T for detail structure info. |
[in] p_aesKey | Pointer to the 16 bytes encryption key. |
[in] p_iv | Pointer to the 16 bytes IV value. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Initialize successfully. |
MBA_RES_FAIL | Failed to initialize. |