2013-02-16 04:22:16 +00:00
|
|
|
#ifndef __AES_H_
|
|
|
|
#define __AES_H_
|
|
|
|
|
2014-04-20 09:14:15 +00:00
|
|
|
#include "Athena/Types.hpp"
|
2013-02-16 04:22:16 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2015-05-19 03:24:56 +00:00
|
|
|
void aes_encrypt(atUint8* iv, const atUint8* inbuf, atUint8* outbuf, atUint64 len);
|
|
|
|
void aes_decrypt(atUint8* iv, const atUint8* inbuf, atUint8* outbuf, atUint64 len);
|
|
|
|
void aes_set_key(const atUint8* key);
|
2013-02-16 04:22:16 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif //__AES_H_
|