Lines Matching defs:cn
135 const unsigned char *ciphertext, int cn,
151 hexdump(stdout, "Ciphertext", ciphertext, cn);
241 if (outl + outl2 != cn) {
243 outl + outl2, cn);
247 if (memcmp(out, ciphertext, cn)) {
249 hexdump(stderr, "Got", out, cn);
250 hexdump(stderr, "Expected", ciphertext, cn);
346 if (!EVP_DecryptUpdate(&ctx, out, &outl, ciphertext, cn)) {
380 const unsigned char *ciphertext, int cn,
390 test1(c, key, kn, iv, in, plaintext, pn, ciphertext, cn, aad, an, tag, tn,
398 const unsigned char *ciphertext, unsigned int cn)
411 hexdump(stdout, "Digest", ciphertext, cn);
431 if (mdn != cn) {
433 cn);
437 if (memcmp(md, ciphertext, cn)) {
439 hexdump(stderr, "Got", md, cn);
440 hexdump(stderr, "Expected", ciphertext, cn);
503 int kn, in, pn, cn;
540 cn = convert(ciphertext);
547 (cipher, key, kn, iv, in, plaintext, pn, ciphertext, cn, aad, an,
549 && !test_digest(cipher, plaintext, pn, ciphertext, cn)) {