Lines Matching refs:cbc_data

169 static char cbc_data[40] = "7654321 Now is the time for ";  variable
270 printf("\ndata[%d] = '%s'", (int)strlen(cbc_data) + 1, cbc_data); in print_test_data()
271 printf("\ndata[%d] = ", (int)strlen(cbc_data) + 1); 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()
288 printf("cipher[%d]= ", (int)strlen(cbc_data) + 1); 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()
363 BF_cbc_encrypt((unsigned char *)cbc_data, cbc_out, len, 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()
390 BF_cfb64_encrypt((unsigned char *)cbc_data, cbc_out, (long)13, in test_bf_cfb64()
392 BF_cfb64_encrypt((unsigned char *)&(cbc_data[13]), &(cbc_out[13]), in test_bf_cfb64()
402 if (!TEST_mem_eq(cbc_in, (int)len, cbc_data, (int)len)) in test_bf_cfb64()
415 len = strlen(cbc_data) + 1; in test_bf_ofb64()
422 BF_ofb64_encrypt((unsigned char *)cbc_data, cbc_out, (long)13, &key, iv, in test_bf_ofb64()
424 BF_ofb64_encrypt((unsigned char *)&(cbc_data[13]), &(cbc_out[13]), in test_bf_ofb64()
433 if (!TEST_mem_eq(cbc_in, (int)len, cbc_data, (int)len)) in test_bf_ofb64()
463 ebcdic2ascii(cbc_data, cbc_data, strlen(cbc_data)); in setup_tests()