Lines Matching refs:cfb_tmp
289 static unsigned char cfb_buf1[40],cfb_buf2[40],cfb_tmp[8]; variable
611 memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv)); in main()
614 8,1,ks,&cfb_tmp,DES_ENCRYPT); in main()
621 memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv)); in main()
624 8,1,ks,&cfb_tmp,DES_DECRYPT); in main()
858 memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv)); in cfb_test()
859 des_cfb_encrypt(plain,cfb_buf1,bits,sizeof(plain),ks,&cfb_tmp, in cfb_test()
868 memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv)); in cfb_test()
869 des_cfb_encrypt(cfb_buf1,cfb_buf2,bits,sizeof(plain),ks,&cfb_tmp, in cfb_test()
887 memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv)); in cfb64_test()
889 des_cfb64_encrypt(plain,cfb_buf1,12,ks,&cfb_tmp,&n,DES_ENCRYPT); in cfb64_test()
891 &cfb_tmp,&n,DES_ENCRYPT); in cfb64_test()
899 memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv)); in cfb64_test()
901 des_cfb64_encrypt(cfb_buf1,cfb_buf2,17,ks,&cfb_tmp,&n,DES_DECRYPT); in cfb64_test()
903 sizeof(plain)-17,ks,&cfb_tmp,&n,DES_DECRYPT); in cfb64_test()
920 memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv)); in ede_cfb64_test()
922 des_ede3_cfb64_encrypt(plain,cfb_buf1,12,ks,ks,ks,&cfb_tmp,&n, in ede_cfb64_test()
926 &cfb_tmp,&n,DES_ENCRYPT); in ede_cfb64_test()
934 memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv)); in ede_cfb64_test()
937 &cfb_tmp,&n,DES_DECRYPT); in ede_cfb64_test()
940 &cfb_tmp,&n,DES_DECRYPT); in ede_cfb64_test()