mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2024-12-29 00:45:16 +00:00
25 lines
No EOL
329 B
C
Executable file
25 lines
No EOL
329 B
C
Executable file
#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 |