Home
last modified time | relevance | path

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

/third_party/openssl/test/
Dideatest.c36 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
93 IDEA_cfb64_encrypt(plain, cfb_buf1, (long)12, &eks, in test_idea_cfb64()
95 IDEA_cfb64_encrypt(&plain[12], &cfb_buf1[12], in test_idea_cfb64()
98 if (!TEST_mem_eq(cfb_cipher64, CFB_TEST_SIZE, cfb_buf1, CFB_TEST_SIZE)) in test_idea_cfb64()
102 IDEA_cfb64_encrypt(cfb_buf1, cfb_buf2, (long)13, &eks, in test_idea_cfb64()
104 IDEA_cfb64_encrypt(&cfb_buf1[13], &cfb_buf2[13], in test_idea_cfb64()
Ddestest.c239 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
506 DES_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
508 if (!TEST_mem_eq(cfb_cipher, sizeof(plain), cfb_buf1, sizeof(plain))) in cfb_test()
511 DES_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
548 DES_cfb64_encrypt(plain, cfb_buf1, 12, &ks, &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64()
549 DES_cfb64_encrypt(&plain[12], &cfb_buf1[12], sizeof(plain) - 12, &ks, in test_des_cfb64()
551 if (!TEST_mem_eq(cfb_cipher64, sizeof(plain), cfb_buf1, sizeof(plain))) in test_des_cfb64()
555 DES_cfb64_encrypt(cfb_buf1, cfb_buf2, 17, &ks, &cfb_tmp, &n, DES_DECRYPT); in test_des_cfb64()
556 DES_cfb64_encrypt(&cfb_buf1[17], &cfb_buf2[17], in test_des_cfb64()
563 DES_cfb_encrypt(&plain[i], &cfb_buf1[i], 8, 1, &ks, &cfb_tmp, in test_des_cfb64()
[all …]