Home
last modified time | relevance | path

Searched refs:cfb_buf1 (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
101 IDEA_cfb64_encrypt(plain, cfb_buf1, (long)12, &eks, in test_idea_cfb64()
103 IDEA_cfb64_encrypt(&plain[12], &cfb_buf1[12], in test_idea_cfb64()
106 if (!TEST_mem_eq(cfb_cipher64, CFB_TEST_SIZE, cfb_buf1, CFB_TEST_SIZE)) in test_idea_cfb64()
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()
H A Ddestest.c253 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
523 DES_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
525 if (!TEST_mem_eq(cfb_cipher, sizeof(plain), cfb_buf1, sizeof(plain))) in cfb_test()
528 DES_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
565 DES_cfb64_encrypt(plain, cfb_buf1, 12, &ks, &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64()
566 DES_cfb64_encrypt(&plain[12], &cfb_buf1[12], sizeof(plain) - 12, &ks, in test_des_cfb64()
573 DES_cfb64_encrypt(&cfb_buf1[17], &cfb_buf2[17], in test_des_cfb64()
580 DES_cfb_encrypt(&plain[i], &cfb_buf1[i], 8, 1, &ks, &cfb_tmp, in test_des_cfb64()
582 if (!TEST_mem_eq(cfb_cipher8, sizeof(plain), cfb_buf1, 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()
[all …]

Completed in 10 milliseconds