Home
last modified time | relevance | path

Searched refs:cfb_tmp (Results 1 – 3 of 3) sorted by relevance

/src/crypto/openssl/test/
H A Dideatest.c58 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
113 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_tmp)); in test_idea_cfb64()
116 cfb_tmp, &n, IDEA_ENCRYPT); in test_idea_cfb64()
119 cfb_tmp, &n, IDEA_ENCRYPT); in test_idea_cfb64()
122 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_tmp)); in test_idea_cfb64()
125 cfb_tmp, &n, IDEA_DECRYPT); in test_idea_cfb64()
128 cfb_tmp, &n, IDEA_DECRYPT); in test_idea_cfb64()
H A Ddestest.c344 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
613 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb_test()
614 DES_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
618 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb_test()
619 DES_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
654 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_cfb64()
656 DES_cfb64_encrypt(plain, cfb_buf1, 12, &ks, &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64()
658 &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64()
661 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_cfb64()
663 DES_cfb64_encrypt(cfb_buf1, cfb_buf2, 17, &ks, &cfb_tmp, &n, DES_DECRYPT); in test_des_cfb64()
[all …]
/src/contrib/netbsd-tests/lib/libdes/
H A Dt_des.c290 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
390 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb_test()
391 des_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), ks, &cfb_tmp, in cfb_test()
395 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb_test()
396 des_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), ks, &cfb_tmp, in cfb_test()
411 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb64_test()
413 des_cfb64_encrypt(plain, cfb_buf1, 12, ks, &cfb_tmp, &n, DES_ENCRYPT); in cfb64_test()
415 &cfb_tmp, &n, DES_ENCRYPT); in cfb64_test()
418 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb64_test()
420 des_cfb64_encrypt(cfb_buf1, cfb_buf2, 17, ks, &cfb_tmp, &n, DES_DECRYPT); in cfb64_test()
[all …]