initial commit
This commit is contained in:
25
lib/amb1_sdk/common/application/wigadget/encrypt.h
Normal file
25
lib/amb1_sdk/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
|
||||
Reference in New Issue
Block a user