Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A Dideatest.c44 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
99 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_tmp)); in test_idea_cfb64()
102 cfb_tmp, &n, IDEA_ENCRYPT); in test_idea_cfb64()
105 cfb_tmp, &n, IDEA_ENCRYPT); in test_idea_cfb64()
108 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_tmp)); in test_idea_cfb64()
111 cfb_tmp, &n, IDEA_DECRYPT); in test_idea_cfb64()
114 cfb_tmp, &n, IDEA_DECRYPT); in test_idea_cfb64()
H A Ddestest.c253 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
522 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb_test()
523 DES_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
527 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb_test()
528 DES_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
563 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_cfb64()
565 DES_cfb64_encrypt(plain, cfb_buf1, 12, &ks, &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64()
567 &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64()
570 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_cfb64()
572 DES_cfb64_encrypt(cfb_buf1, cfb_buf2, 17, &ks, &cfb_tmp, &n, DES_DECRYPT); in test_des_cfb64()
[all …]
/freebsd/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 …]