1.1.5.5 DRV_CRYPTO_AES_DiscardData()
AES_ERROR DRV_CRYPTO_AES_DiscardData (void * contextData, uint32_t discardLength)
Tell the AES operation to discard a number of bytes from the output stream.
contextData |
The context data for this operation. |
discardLength |
The number of bytes to discard from the output stream. |
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()).