]>
git.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
7 // AES context structure
16 // key length in bytes
20 // block size in bytes
26 // AES API function prototype
28 int AesCtxIni(AesCtx
*pCtx
, unsigned char *pIV
, unsigned char *pKey
, unsigned int KeyLen
, unsigned char Mode
);
29 int AesEncrypt(AesCtx
*pCtx
, unsigned char *pData
, unsigned char *pCipher
, unsigned int DataLen
);
30 int AesDecrypt(AesCtx
*pCtx
, unsigned char *pCipher
, unsigned char *pData
, unsigned int CipherLen
);