Lines Matching defs:cn
135 const unsigned char *ciphertext, int cn, int encdec)
149 hexdump(stdout, "Ciphertext", ciphertext, cn);
176 if (outl + outl2 != cn) {
178 outl + outl2, cn);
182 if (memcmp(out, ciphertext, cn)) {
184 hexdump(stderr, "Got", out, cn);
185 hexdump(stderr, "Expected", ciphertext, cn);
198 if (!EVP_DecryptUpdate(&ctx, out, &outl, ciphertext, cn)) {
231 const unsigned char *ciphertext, int cn, int encdec)
239 test1(c, key, kn, iv, in, plaintext, pn, ciphertext, cn, encdec);
246 const unsigned char *ciphertext, unsigned int cn)
259 hexdump(stdout, "Digest", ciphertext, cn);
279 if (mdn != cn) {
281 cn);
285 if (memcmp(md, ciphertext, cn)) {
287 hexdump(stderr, "Got", md, cn);
288 hexdump(stderr, "Expected", ciphertext, cn);
351 int kn, in, pn, cn;
373 cn = convert(ciphertext);
376 (cipher, key, kn, iv, in, plaintext, pn, ciphertext, cn, encdec)
377 && !test_digest(cipher, plaintext, pn, ciphertext, cn)) {