sdk-ameba-v4.0c_180328/component/common/application/wigadget/encrypt.h

25 lines
329 B
C
Raw Normal View History

2019-04-02 08:34:25 +00:00
#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