mirror of
https://github.com/taubel/sdk-ameba-v4.0b-gcc.git
synced 2026-07-03 01:55:38 +00:00
initial commit
This commit is contained in:
commit
60a7afcc83
2528 changed files with 1001987 additions and 0 deletions
25
component/common/application/wigadget/encrypt.h
Normal file
25
component/common/application/wigadget/encrypt.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue