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