Lines Matching refs:tag
81 * at 2 (value 1 is for encrypting the GHASH output into the tag).
236 br_gcm_get_tag(br_gcm_context *ctx, void *tag)
262 memcpy(tag, ctx->y, 16);
263 (*ctx->bctx)->run(ctx->bctx, ctx->j0_1, ctx->j0_2, tag, 16);
268 br_gcm_get_tag_trunc(br_gcm_context *ctx, void *tag, size_t len)
273 memcpy(tag, tmp, len);
278 br_gcm_check_tag_trunc(br_gcm_context *ctx, const void *tag, size_t len)
287 x |= tmp[u] ^ ((const unsigned char *)tag)[u];
294 br_gcm_check_tag(br_gcm_context *ctx, const void *tag)
296 return br_gcm_check_tag_trunc(ctx, tag, 16);