Searched refs:cbc_data (Results 1 – 2 of 2) sorted by relevance
/openssl/test/ |
H A D | bftest.c | 270 printf("\ndata[%d] = '%s'", (int)strlen(cbc_data) + 1, cbc_data); in print_test_data() 272 for (j = 0; j < strlen(cbc_data) + 1; j++) in print_test_data() 273 printf("%02X", cbc_data[j]); in print_test_data() 282 printf("cipher[%d]= ", (int)strlen(cbc_data) + 1); in print_test_data() 283 for (j = 0; j < strlen(cbc_data) + 1; j++) in print_test_data() 289 for (j = 0; j < strlen(cbc_data) + 1; j++) in print_test_data() 357 len = strlen(cbc_data) + 1; in test_bf_cbc() 370 if (!TEST_mem_eq(cbc_in, len, cbc_data, strlen(cbc_data) + 1)) in test_bf_cbc() 383 len = strlen(cbc_data) + 1; in test_bf_cfb64() 415 len = strlen(cbc_data) + 1; in test_bf_ofb64() [all …]
|
H A D | destest.c | 197 static unsigned char cbc_data[40] = { variable 402 const size_t n = strlen((char *)cbc_data) + 1; in test_des_ede_cbc() 416 return TEST_mem_eq(cbc_data, n, cbc_data, n); in test_des_ede_cbc() 425 const size_t i = strlen((char *)cbc_data) + 1; in test_ede_cbc() 448 return TEST_mem_eq(cbc_in, i, cbc_data, i); in test_ede_cbc() 456 const size_t n = strlen(i + (char *)cbc_data) + 1; in test_input_align() 471 const size_t n = strlen((char *)cbc_data) + 1; in test_output_align() 502 const int n = strlen((char *)cbc_data) + 1; in test_des_pcbc() 508 DES_pcbc_encrypt(cbc_data, cbc_out, n, &ks, in test_des_pcbc() 514 return TEST_mem_eq(cbc_in, n, cbc_data, n); in test_des_pcbc() [all …]
|
Completed in 7 milliseconds