Searched refs:cfb_tmp (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | ideatest.c | 43 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable 98 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_tmp)); in test_idea_cfb64() 101 cfb_tmp, &n, IDEA_ENCRYPT); in test_idea_cfb64() 104 cfb_tmp, &n, IDEA_ENCRYPT); in test_idea_cfb64() 107 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_tmp)); in test_idea_cfb64() 110 cfb_tmp, &n, IDEA_DECRYPT); in test_idea_cfb64() 113 cfb_tmp, &n, IDEA_DECRYPT); in test_idea_cfb64()
|
H A D | destest.c | 246 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable 512 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb_test() 513 DES_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test() 517 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb_test() 518 DES_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test() 553 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_cfb64() 555 DES_cfb64_encrypt(plain, cfb_buf1, 12, &ks, &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64() 557 &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64() 560 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_cfb64() 562 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 D | t_des.c | 290 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 …]
|