2.1.5.5 DRV_CRYPTO_AES_AddTweakData()
AES_ERROR DRV_CRYPTO_AES_AddTweakData (void * contextData, const void * tweakData, uint32_t tweakLength)
Initialize the tweak value for AES XTS support.
| contextData |
The context data for this operation. |
| tweakData |
The tweak data to use. |
| tweakLength |
The length of the tweak data. |
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()).
