1.1.3.4 DRV_CRYPTO_AES_AddOutputData()

AES_ERROR DRV_CRYPTO_AES_AddOutputData (void * contextData, const void * data, uint32_t dataLength)

This function specifies the output buffer for the AES operation.

Parameters:
contextData

The context data for this operation.

data

The data buffer to add to the operation.

dataLength

The length of the data buffer.

Return values:
AES_NO_ERROR

Success.

AES_STATE_ERROR

Invalid or unexpected AES state.

AES_WRITE_ERROR

Failure while writing output data.

Note:

An AES operation must be in progress (initialized by DRV_CRYPTO_AES_Initialize()).