1.1.5.2 DRV_CRYPTO_AES_AddInputData()
AES_ERROR DRV_CRYPTO_AES_AddInputData (void * contextData, void * data, uint32_t dataLength)
Add data to an AES operation.
contextData |
The context data for this operation. |
data |
The data to add to the operation. |
dataLength |
The length of the data. |
AES_NO_ERROR on success, AES_STATE_ERROR/AES_WRITE_ERROR on failure. |
Note:
An AES operation must be in progress (initialized by DRV_CRYPTO_AES_Initialize()).