#include <twl/aes.h>
void AES_AddToCounter(AESCounter* pCounter, u32 value);
| pCounter | Pointer to the number to add to. |
|---|---|
| value | Number to add. |
None.
Adds a numerical value to the AES counter.
If you use this function, you will be able to decrypt only a portion of the data that was encrypted in CTR mode. For details, see the ctr-partial demo.
2007/12/25 Initial version.
CONFIDENTIAL