Lines Matching refs:cbc_out
341 unsigned char cbc_out[40]; in main() local
372 memset(cbc_out,0,40); in main()
379 DES_ede3_cbcm_encrypt(cbc_data,cbc_out,16L,&ks,&ks2,&ks3,&iv3,&iv2, in main()
381 DES_ede3_cbcm_encrypt(&cbc_data[16],&cbc_out[16],i-16,&ks,&ks2,&ks3, in main()
392 DES_ede3_cbcm_encrypt(cbc_out,cbc_in,i,&ks,&ks2,&ks3,&iv3,&iv2,DES_DECRYPT); in main()
468 memset(cbc_out,0,40); in main()
471 des_ncbc_encrypt(cbc_data,cbc_out,strlen((char *)cbc_data)+1,ks, in main()
473 if (memcmp(cbc_out,cbc_ok,32) != 0) in main()
480 des_ncbc_encrypt(cbc_out,cbc_in,strlen((char *)cbc_data)+1,ks, in main()
495 memset(cbc_out,0,40); in main()
498 des_xcbc_encrypt(cbc_data,cbc_out,strlen((char *)cbc_data)+1,ks, in main()
500 if (memcmp(cbc_out,xcbc_ok,32) != 0) in main()
506 des_xcbc_encrypt(cbc_out,cbc_in,strlen((char *)cbc_data)+1,ks, in main()
531 memset(cbc_out,0,40); in main()
537 des_ede3_cbc_encrypt(cbc_data,cbc_out,16L,ks,ks2,ks3,&iv3, in main()
539 des_ede3_cbc_encrypt(&(cbc_data[16]),&(cbc_out[16]),i-16,ks,ks2,ks3, in main()
541 if (memcmp(cbc_out,cbc3_ok, in main()
548 printf(" %02x",cbc_out[n]); in main()
557 des_ede3_cbc_encrypt(cbc_out,cbc_in,i,ks,ks2,ks3,&iv3,DES_DECRYPT); in main()
579 memset(cbc_out,0,40); in main()
581 des_pcbc_encrypt(cbc_data,cbc_out,strlen((char *)cbc_data)+1,ks, in main()
583 if (memcmp(cbc_out,pcbc_ok,32) != 0) in main()
588 des_pcbc_encrypt(cbc_out,cbc_in,strlen((char *)cbc_data)+1,ks,&cbc_iv, in main()
798 des_ncbc_encrypt(&(cbc_out[i]),cbc_in, in main()
806 des_ncbc_encrypt(cbc_out,&(cbc_in[i]), in main()