📄 aes.h
字号:
#ifndef __DRSEC_AES_H
#define __DRSEC_AES_H
#if defined(__cplusplus)
extern "C"
{
#endif
#ifndef u8
#define u8 unsigned char
#endif
#ifndef u32
#define u32 unsigned long
#endif
int ds_aesKeySetupEnc(u32 *rk, const u8 *key, int keyLen);
int ds_aesKeySetupDec(u32 *rk, const u8 *key, int keyLen);
void ds_aesEncryptBlock (u32 *rk,u8 *plain, u8 *cipher,int rounds);
void ds_aesDecryptBlock (u32 *rk,u8 *cipher,u8 *plain, int rounds);
void ds_aesEncryptBlock128 (u32 *rk,u8 *plain, u8 *cipher);
void ds_aesDecryptBlock128 (u32 *rk,u8 *cipher,u8 *plain );
#if defined(__cplusplus)
}
#endif
#endif /* __DRSEC_AES_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -