Lines Matching defs:plain
290 static unsigned char plain[24]=
612 for (i=0; i<sizeof(plain); i++)
613 des_cfb_encrypt(&(plain[i]),&(cfb_buf1[i]),
615 if (memcmp(cfb_cipher8,cfb_buf1,sizeof(plain)) != 0)
622 for (i=0; i<sizeof(plain); i++)
625 if (memcmp(plain,cfb_buf2,sizeof(plain)) != 0)
639 des_ofb_encrypt(plain,ofb_buf1,64,sizeof(plain)/8,ks,&ofb_tmp);
653 if (memcmp(plain,ofb_buf2,sizeof(ofb_buf2)) != 0)
660 plain[8+0], plain[8+1], plain[8+2], plain[8+3],
661 plain[8+4], plain[8+5], plain[8+6], plain[8+7]);
671 for (i=0; i<sizeof(plain); i++)
673 des_ofb64_encrypt(&(plain[i]),&(ofb_buf1[i]),1,ks,&ofb_tmp,
685 if (memcmp(plain,ofb_buf2,sizeof(ofb_buf2)) != 0)
697 for (i=0; i<sizeof(plain); i++)
699 des_ede3_ofb64_encrypt(&(plain[i]),&(ofb_buf1[i]),1,ks,ks,
711 if (memcmp(plain,ofb_buf2,sizeof(ofb_buf2)) != 0)
859 des_cfb_encrypt(plain,cfb_buf1,bits,sizeof(plain),ks,&cfb_tmp,
861 if (memcmp(cfb_cipher,cfb_buf1,sizeof(plain)) != 0)
869 des_cfb_encrypt(cfb_buf1,cfb_buf2,bits,sizeof(plain),ks,&cfb_tmp,
871 if (memcmp(plain,cfb_buf2,sizeof(plain)) != 0)
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)
903 sizeof(plain)-17,ks,&cfb_tmp,&n,DES_DECRYPT);
904 if (memcmp(plain,cfb_buf2,sizeof(plain)) != 0)
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]),
925 sizeof(plain)-12,ks,ks,ks,
927 if (memcmp(cfb_cipher,cfb_buf1,sizeof(plain)) != 0)
939 sizeof(plain)-17,ks,ks,ks,
941 if (memcmp(plain,cfb_buf2,sizeof(plain)) != 0)