1.1.3.8 DRV_CRYPTO_AES_Execute()

AES_ERROR DRV_CRYPTO_AES_Execute (void * contextData)

This function executes an AES operation to generate the final result (such as a CMAC or a cipher).

Parameters:
contextData

The context data for this operation.

Return values:
AES_NO_ERROR

Success.

AES_STATE_ERROR

Invalid or unexpected AES state.

AES_EXECUTE_ERROR

Failure while executing the AES operation.

Note:

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