imx-test-3.0.35-4.1.0/test/mxc_sahara_test/gen_encrypt.c File Reference

Test code for AES CCM mode. More...

Enumerations

enum  gen_encrypt_opid {
  OP_CCM,
  OP_CCM_AUTH,
  OP_CCM_NIST
}

Detailed Description

Test code for AES CCM mode.

This file contains vectors and code to test fsl_shw_gen_crypt() and fsl_shw_auth_decrypt() in AES CCM mode.


Enumeration Type Documentation

Enumerator:
OP_CCM 

Gen and/or Auth test starting from Key, CTR0, formatted auth blocks, and payload.

OP_CCM_AUTH 

Auth-only vectors, starting from Key, CTR0, formatted auth blocks, and payload.

OP_CCM_NIST 

Gen and/or Auth test starting from Key, Nonce, additian data, payload, and size of payload.

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen