Lines Matching refs:char
11 void aes_encrypt_ecb( char *hex_key_string, char *hex_src_string,
12 char *hex_dst_string, int setkey_result )
14 unsigned char key_str[100];
15 unsigned char src_str[100];
16 unsigned char dst_str[100];
17 unsigned char output[100];
36 TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
45 void aes_decrypt_ecb( char *hex_key_string, char *hex_src_string,
46 char *hex_dst_string, int setkey_result )
48 unsigned char key_str[100];
49 unsigned char src_str[100];
50 unsigned char dst_str[100];
51 unsigned char output[100];
70 TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
79 void aes_encrypt_cbc( char *hex_key_string, char *hex_iv_string,
80 char *hex_src_string, char *hex_dst_string,
83 unsigned char key_str[100];
84 unsigned char iv_str[100];
85 unsigned char src_str[100];
86 unsigned char dst_str[100];
87 unsigned char output[100];
108 TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
117 void aes_decrypt_cbc( char *hex_key_string, char *hex_iv_string,
118 char *hex_src_string, char *hex_dst_string,
121 unsigned char key_str[100];
122 unsigned char iv_str[100];
123 unsigned char src_str[100];
124 unsigned char dst_str[100];
125 unsigned char output[100];
146 TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
155 void aes_encrypt_cfb128( char *hex_key_string, char *hex_iv_string,
156 char *hex_src_string, char *hex_dst_string )
158 unsigned char key_str[100];
159 unsigned char iv_str[100];
160 unsigned char src_str[100];
161 unsigned char dst_str[100];
162 unsigned char output[100];
182 TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
190 void aes_decrypt_cfb128( char *hex_key_string, char *hex_iv_string,
191 char *hex_src_string, char *hex_dst_string )
193 unsigned char key_str[100];
194 unsigned char iv_str[100];
195 unsigned char src_str[100];
196 unsigned char dst_str[100];
197 unsigned char output[100];
217 TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
225 void aes_encrypt_cfb8( char *hex_key_string, char *hex_iv_string,
226 char *hex_src_string, char *hex_dst_string )
228 unsigned char key_str[100];
229 unsigned char iv_str[100];
230 unsigned char src_str[100];
231 unsigned char dst_str[100];
232 unsigned char output[100];
251 TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
259 void aes_decrypt_cfb8( char *hex_key_string, char *hex_iv_string,
260 char *hex_src_string, char *hex_dst_string )
262 unsigned char key_str[100];
263 unsigned char iv_str[100];
264 unsigned char src_str[100];
265 unsigned char dst_str[100];
266 unsigned char output[100];
285 TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );