Lines Matching refs:char

11 void des_check_weak( char *key_hex, int ret )
13 unsigned char key[MBEDTLS_DES_KEY_SIZE];
24 void des_encrypt_ecb( char *hex_key_string, char *hex_src_string,
25 char *hex_dst_string )
27 unsigned char key_str[100];
28 unsigned char src_str[100];
29 unsigned char dst_str[100];
30 unsigned char output[100];
46 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
54 void des_decrypt_ecb( char *hex_key_string, char *hex_src_string,
55 char *hex_dst_string )
57 unsigned char key_str[100];
58 unsigned char src_str[100];
59 unsigned char dst_str[100];
60 unsigned char output[100];
76 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
84 void des_encrypt_cbc( char *hex_key_string, char *hex_iv_string,
85 char *hex_src_string, char *hex_dst_string, int cbc_result )
87 unsigned char key_str[100];
88 unsigned char iv_str[100];
89 unsigned char src_str[100];
90 unsigned char dst_str[100];
91 unsigned char output[100];
112 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
121 void des_decrypt_cbc( char *hex_key_string, char *hex_iv_string,
122 char *hex_src_string, char *hex_dst_string, int cbc_result )
124 unsigned char key_str[100];
125 unsigned char iv_str[100];
126 unsigned char src_str[100];
127 unsigned char dst_str[100];
128 unsigned char output[100];
149 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
158 void des3_encrypt_ecb( int key_count, char *hex_key_string,
159 char *hex_src_string, char *hex_dst_string )
161 unsigned char key_str[100];
162 unsigned char src_str[100];
163 unsigned char dst_str[100];
164 unsigned char output[100];
186 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
194 void des3_decrypt_ecb( int key_count, char *hex_key_string,
195 char *hex_src_string, char *hex_dst_string )
197 unsigned char key_str[100];
198 unsigned char src_str[100];
199 unsigned char dst_str[100];
200 unsigned char output[100];
222 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
230 void des3_encrypt_cbc( int key_count, char *hex_key_string,
231 char *hex_iv_string, char *hex_src_string,
232 char *hex_dst_string, int cbc_result )
234 unsigned char key_str[100];
235 unsigned char iv_str[100];
236 unsigned char src_str[100];
237 unsigned char dst_str[100];
238 unsigned char output[100];
266 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
275 void des3_decrypt_cbc( int key_count, char *hex_key_string,
276 char *hex_iv_string, char *hex_src_string,
277 char *hex_dst_string, int cbc_result )
279 unsigned char key_str[100];
280 unsigned char iv_str[100];
281 unsigned char src_str[100];
282 unsigned char dst_str[100];
283 unsigned char output[100];
311 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
323 unsigned char key[MBEDTLS_DES_KEY_SIZE];