Home | History | Annotate | Download | only in evp

Lines Matching full:plaintext

138 		  const unsigned char *plaintext,int pn,
151 hexdump(stdout,"Plaintext",plaintext,pn);
171 if(!EVP_EncryptUpdate(&ctx,out,&outl,plaintext,pn))
225 fprintf(stderr,"Plaintext length mismatch got %d expected %d\n",
230 if(memcmp(out,plaintext,pn))
232 fprintf(stderr,"Plaintext mismatch\n");
234 hexdump(stderr,"Expected",plaintext,pn);
246 const unsigned char *plaintext,int pn,
256 test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec);
262 const unsigned char *plaintext,int pn,
275 hexdump(stdout,"Plaintext",plaintext,pn);
285 if(!EVP_DigestUpdate(&ctx,plaintext,pn))
369 unsigned char *iv,*key,*plaintext,*ciphertext;
381 plaintext=ustrsep(&p,":");
393 pn=convert(plaintext);
396 if(!test_cipher(cipher,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec)
397 && !test_digest(cipher,plaintext,pn,ciphertext,cn))