Lines Matching refs:cfb_tmp

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()
564 sizeof(plain) - 17, &ks, &cfb_tmp, &n, DES_DECRYPT); in test_des_cfb64()
568 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_cfb64()
570 DES_cfb_encrypt(&plain[i], &cfb_buf1[i], 8, 1, &ks, &cfb_tmp, in test_des_cfb64()
575 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_cfb64()
577 DES_cfb_encrypt(&cfb_buf1[i], &cfb_buf2[i], 8, 1, &ks, &cfb_tmp, in test_des_cfb64()
588 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_ede_cfb64()
590 DES_ede3_cfb64_encrypt(plain, cfb_buf1, 12, &ks, &ks, &ks, &cfb_tmp, &n, in test_des_ede_cfb64()
593 &ks, &ks, &cfb_tmp, &n, DES_ENCRYPT); in test_des_ede_cfb64()
596 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_ede_cfb64()
599 &cfb_tmp, &n, DES_DECRYPT); in test_des_ede_cfb64()
601 &ks, &ks, &ks, &cfb_tmp, &n, DES_DECRYPT); in test_des_ede_cfb64()