Lines Matching defs:cfb_buf1
289 static unsigned char cfb_buf1[40],cfb_buf2[40],cfb_tmp[8];
613 des_cfb_encrypt(&(plain[i]),&(cfb_buf1[i]),
615 if (memcmp(cfb_cipher8,cfb_buf1,sizeof(plain)) != 0)
623 des_cfb_encrypt(&(cfb_buf1[i]),&(cfb_buf2[i]),
859 des_cfb_encrypt(plain,cfb_buf1,bits,sizeof(plain),ks,&cfb_tmp,
861 if (memcmp(cfb_cipher,cfb_buf1,sizeof(plain)) != 0)
866 printf("%s\n",pt(&(cfb_buf1[i])));
869 des_cfb_encrypt(cfb_buf1,cfb_buf2,bits,sizeof(plain),ks,&cfb_tmp,
876 printf("%s\n",pt(&(cfb_buf1[i])));
889 des_cfb64_encrypt(plain,cfb_buf1,12,ks,&cfb_tmp,&n,DES_ENCRYPT);
890 des_cfb64_encrypt(&(plain[12]),&(cfb_buf1[12]),sizeof(plain)-12,ks,
892 if (memcmp(cfb_cipher,cfb_buf1,sizeof(plain)) != 0)
897 printf("%s\n",pt(&(cfb_buf1[i])));
901 des_cfb64_encrypt(cfb_buf1,cfb_buf2,17,ks,&cfb_tmp,&n,DES_DECRYPT);
902 des_cfb64_encrypt(&(cfb_buf1[17]),&(cfb_buf2[17]),
922 des_ede3_cfb64_encrypt(plain,cfb_buf1,12,ks,ks,ks,&cfb_tmp,&n,
924 des_ede3_cfb64_encrypt(&(plain[12]),&(cfb_buf1[12]),
927 if (memcmp(cfb_cipher,cfb_buf1,sizeof(plain)) != 0)
932 printf("%s\n",pt(&(cfb_buf1[i])));
936 des_ede3_cfb64_encrypt(cfb_buf1,cfb_buf2,(long)17,ks,ks,ks,
938 des_ede3_cfb64_encrypt(&(cfb_buf1[17]),&(cfb_buf2[17]),