mirror of
https://github.com/cwyark/sdk-ameba-v4.0b_without_nda_gcc.git
synced 2024-11-29 09:40:36 +00:00
25 lines
305 B
C
25 lines
305 B
C
|
#ifndef _WI_ENCRYPT_H_
|
||
|
#define _WI_ENCRYPT_H_
|
||
|
|
||
|
#include "rom_aes.h"
|
||
|
|
||
|
typedef union
|
||
|
{ unsigned int l;
|
||
|
unsigned char b[4];
|
||
|
} aes_inf;
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
aes_context ctx;
|
||
|
aes_inf inf;
|
||
|
|
||
|
} aes_encrypt_ctx;
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
aes_context ctx;
|
||
|
aes_inf inf;
|
||
|
|
||
|
} aes_decrypt_ctx;
|
||
|
|
||
|
#endif
|