Home | History | Annotate | Download | only in evp

Lines Matching defs:cn

139 		  const unsigned char *ciphertext,int cn,
152 hexdump(stdout,"Ciphertext",ciphertext,cn);
184 if(outl+outl2 != cn)
187 outl+outl2,cn);
191 if(memcmp(out,ciphertext,cn))
194 hexdump(stderr,"Got",out,cn);
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);
299 if(mdn != cn)
301 fprintf(stderr,"Digest length mismatch, got %d expected %d\n",mdn,cn);
305 if(memcmp(md,ciphertext,cn))
308 hexdump(stderr,"Got",md,cn);
309 hexdump(stderr,"Expected",ciphertext,cn);
371 int kn,in,pn,cn;
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))