Lines Matching refs:cbc_data
197 static unsigned char cbc_data[40] = { variable
378 const size_t cbc_data_len = strlen((char *)cbc_data); in test_des_cbc()
385 DES_ncbc_encrypt(cbc_data, cbc_out, cbc_data_len + 1, &ks, in test_des_cbc()
393 return TEST_mem_eq(cbc_in, cbc_data_len, cbc_data, cbc_data_len); in test_des_cbc()
402 const size_t n = strlen((char *)cbc_data) + 1; in test_des_ede_cbc()
409 DES_xcbc_encrypt(cbc_data, cbc_out, n, &ks, &iv3, &cbc2_key, &cbc3_key, 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()
438 DES_ede3_cbc_encrypt(cbc_data, cbc_out, 16L, &ks, &ks2, &ks3, &iv3, in test_ede_cbc()
440 DES_ede3_cbc_encrypt(&cbc_data[16], &cbc_out[16], i - 16, &ks, &ks2, 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()
462 DES_ncbc_encrypt(&cbc_data[i], cbc_out, n, &ks, &iv, DES_ENCRYPT); in test_input_align()
471 const size_t n = strlen((char *)cbc_data) + 1; in test_output_align()
477 DES_ncbc_encrypt(cbc_data, &cbc_out[i], n, &ks, &iv, DES_ENCRYPT); 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()
685 cs = DES_cbc_cksum(cbc_data, &cret, strlen((char *)cbc_data), &ks, in test_des_cbc_cksum()
696 cs = DES_quad_cksum(cbc_data, (DES_cblock *)lqret, in test_des_quad_cksum()
697 (long)strlen((char *)cbc_data), 2, in test_des_quad_cksum()