# AES_AddToCounter

## Syntax

      #include <twl/aes.h>

      void AES_AddToCounter(AESCounter* pCounter, u32 value);

## Arguments

pCounter | Pointer to the number to add to.
value | Number to add.

## Return Values

None.

## Description

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.

## See Also

``

## Revision History

2007/12/25 Initial version.

CONFIDENTIAL