D | evp_test.c | 139 const unsigned char *ciphertext,int cn, in test1() argument 152 hexdump(stdout,"Ciphertext",ciphertext,cn); in test1() 191 if(memcmp(out,ciphertext,cn)) in test1() 195 hexdump(stderr,"Expected",ciphertext,cn); in test1() 210 if(!EVP_DecryptUpdate(&ctx,out,&outl,ciphertext,cn)) in test1() 247 const unsigned char *ciphertext,int cn, in test_cipher() argument 256 test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec); in test_cipher() 263 const unsigned char *ciphertext, unsigned int cn) in test_digest() argument 276 hexdump(stdout,"Digest",ciphertext,cn); in test_digest() 305 if(memcmp(md,ciphertext,cn)) in test_digest() [all …]
|