Home
last modified time | relevance | path

Searched refs:cbc_in (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/openssl/openssl/crypto/des/
Ddestest.c340 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()
[all …]
/external/openssl/crypto/des/
Ddestest.c340 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()
[all …]