1.1.5.4 DRV_CRYPTO_AES_AddOutputData()

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

Add a data output buffer to an 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.

Returns:

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()).