"aes_enc_result_cb" is the encode result
M
mtjo
@mtjo
0
声望
2
帖子
352
资料浏览
0
粉丝
0
关注
mtjo 发布的帖子
-
RE: AES encrypt function example
unsigned long aes_cbc_encrypt(unsigned char in_data[],unsigned long InputLen, unsigned char out_data[]) {
unsigned long outlen;
outlen = AES128_CBC_Encrypt(in_data,InputLen, KEY, out_data);
return outlen;
}unsigned long aes_cbc_decrypt(unsigned char in_data[],unsigned long InputLen, unsigned char out_data[]) {
unsigned long outlen;
outlen = AES128_CBC_Decrypt(in_data, InputLen, KEY, out_data);
return outlen;
}