Lines Matching defs:tag
137 const unsigned char *tag, int tn, int encdec)
155 hexdump(stdout, "Tag", tag, tn);
260 fprintf(stderr, "Get tag failed\n");
264 if (memcmp(rtag, tag, tn)) {
267 hexdump(stderr, "Expected", tag, tn);
291 (&ctx, EVP_CTRL_GCM_SET_TAG, tn, (void *)tag)) {
292 fprintf(stderr, "Set tag failed\n");
313 (&ctx, EVP_CTRL_CCM_SET_TAG, tn, (void *)tag)) {
382 const unsigned char *tag, int tn, int encdec)
390 test1(c, key, kn, iv, in, plaintext, pn, ciphertext, cn, aad, an, tag, tn,
501 unsigned char *iv, *key, *plaintext, *ciphertext, *aad, *tag;
520 tag = aad = NULL;
524 tag = ustrsep(&p, ":");
525 if (tag == NULL) {
527 tag = aad = NULL;
543 tn = convert(tag);
548 tag, tn, encdec)