1.1.3.7 DRV_CRYPTO_AES_DiscardData()
AES_ERROR DRV_CRYPTO_AES_DiscardData (void * contextData, uint32_t discardLength)
This function discards a specified number of bytes from the output stream of the AES operation.
| contextData |
The context data for this operation. |
| discardLength |
The number of bytes to discard from the output stream. |
| AES_NO_ERROR |
Success. |
| AES_STATE_ERROR |
Invalid or unexpected AES state. |
| AES_WRITE_ERROR |
Failure while discarding output data. |
Note:
An AES operation must be in progress (initialized by DRV_CRYPTO_AES_Initialize()).
