Home | History | Annotate | Download | only in evp

Lines Matching refs:ciphertext

139 		  const unsigned char *ciphertext,int cn,
152 hexdump(stdout,"Ciphertext",ciphertext,cn);
186 fprintf(stderr,"Ciphertext length mismatch got %d expected %d\n",
191 if(memcmp(out,ciphertext,cn))
193 fprintf(stderr,"Ciphertext mismatch\n");
195 hexdump(stderr,"Expected",ciphertext,cn);
210 if(!EVP_DecryptUpdate(&ctx,out,&outl,ciphertext,cn))
247 const unsigned char *ciphertext,int cn,
256 test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec);
263 const unsigned char *ciphertext, unsigned int cn)
276 hexdump(stdout,"Digest",ciphertext,cn);
305 if(memcmp(md,ciphertext,cn))
309 hexdump(stderr,"Expected",ciphertext,cn);
369 unsigned char *iv,*key,*plaintext,*ciphertext;
382 ciphertext=ustrsep(&p,":");
394 cn=convert(ciphertext);
396 if(!test_cipher(cipher,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec)
397 && !test_digest(cipher,plaintext,pn,ciphertext,cn))