mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2024-12-01 02:30:32 +00:00
25 lines
329 B
C
25 lines
329 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
|