Home
last modified time | relevance | path

Searched refs:cfb_buf2 (Results 1 – 2 of 2) sorted by relevance

/openssl/test/
H A Dideatest.c44 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
110 IDEA_cfb64_encrypt(cfb_buf1, cfb_buf2, (long)13, &eks, in test_idea_cfb64()
112 IDEA_cfb64_encrypt(&cfb_buf1[13], &cfb_buf2[13], in test_idea_cfb64()
115 return TEST_mem_eq(plain, CFB_TEST_SIZE, cfb_buf2, CFB_TEST_SIZE); in test_idea_cfb64()
H A Ddestest.c253 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
528 DES_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
530 return TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain)); in cfb_test()
572 DES_cfb64_encrypt(cfb_buf1, cfb_buf2, 17, &ks, &cfb_tmp, &n, DES_DECRYPT); in test_des_cfb64()
573 DES_cfb64_encrypt(&cfb_buf1[17], &cfb_buf2[17], in test_des_cfb64()
575 if (!TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain))) in test_des_cfb64()
587 DES_cfb_encrypt(&cfb_buf1[i], &cfb_buf2[i], 8, 1, &ks, &cfb_tmp, in test_des_cfb64()
589 return TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain)); in test_des_cfb64()
608 DES_ede3_cfb64_encrypt(cfb_buf1, cfb_buf2, (long)17, &ks, &ks, &ks, in test_des_ede_cfb64()
610 DES_ede3_cfb64_encrypt(&cfb_buf1[17], &cfb_buf2[17], sizeof(plain) - 17, in test_des_ede_cfb64()
[all …]

Completed in 7 milliseconds