# AESCallback

## Syntax

      #include <twl/aes.h>

      typedef void (*AESCallback)(AESResult result, void* arg);

## Members

result | Result of an AES operation.
arg | User-defined parameter. In functions that take a callback function as an argument, the argument passed here will be those functions' next argument after the callback function.

## Description

This is the type of the callback functions called when an AES operation completes.

One of the following values will be passed to result:

- AES_RESULT_SUCCESS
- AES_RESULT_VERIFICATION_FAILED
- AES_RESULT_BUSY

## Revision History

2007/12/25 Initial version.

CONFIDENTIAL