Lines Matching full:cbc_in
340 unsigned char cbc_in[40];
373 memset(cbc_in,0,40);
392 DES_ede3_cbcm_encrypt(cbc_out,cbc_in,i,&ks,&ks2,&ks3,&iv3,&iv2,DES_DECRYPT);
393 if (memcmp(cbc_in,cbc_data,strlen((char *)cbc_data)+1) != 0)
402 printf(" %02x",cbc_in[n]);
469 memset(cbc_in,0,40);
480 des_ncbc_encrypt(cbc_out,cbc_in,strlen((char *)cbc_data)+1,ks,
482 if (memcmp(cbc_in,cbc_data,strlen((char *)cbc_data)) != 0)
496 memset(cbc_in,0,40);
506 des_xcbc_encrypt(cbc_out,cbc_in,strlen((char *)cbc_data)+1,ks,
508 if (memcmp(cbc_in,cbc_data,strlen((char *)cbc_data)+1) != 0)
532 memset(cbc_in,0,40);
557 des_ede3_cbc_encrypt(cbc_out,cbc_in,i,ks,ks2,ks3,&iv3,DES_DECRYPT);
558 if (memcmp(cbc_in,cbc_data,strlen((char *)cbc_data)+1) != 0)
567 printf(" %02x",cbc_in[n]);
580 memset(cbc_in,0,40);
588 des_pcbc_encrypt(cbc_out,cbc_in,strlen((char *)cbc_data)+1,ks,&cbc_iv,
590 if (memcmp(cbc_in,cbc_data,strlen((char *)cbc_data)+1) != 0)
798 des_ncbc_encrypt(&(cbc_out[i]),cbc_in,
806 des_ncbc_encrypt(cbc_out,&(cbc_in[i]),