]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - armsrc/aes.h
2 * AES Cryptographic Algorithm Header File. Include this header file in
3 * your source which uses these given APIs. (This source is kept under
9 // AES context structure
18 // key length in bytes
22 // block size in bytes
28 // AES API function prototype
30 int AesCtxIni(AesCtx
*pCtx
, unsigned char *pIV
, unsigned char *pKey
, unsigned int KeyLen
, unsigned char Mode
);
31 int AesEncrypt(AesCtx
*pCtx
, unsigned char *pData
, unsigned char *pCipher
, unsigned int DataLen
);
32 int AesDecrypt(AesCtx
*pCtx
, unsigned char *pCipher
, unsigned char *pData
, unsigned int CipherLen
);