/* Complete tag computation. The final tag is written in ctx->cbcmac.  */
static void do_final(br_eax_context *ctx)
/* Complete tag computation. The final tag is written in ctx->cbcmac.  */
static void do_final(br_eax_context *ctx)
{
	size_t u;
	do_pad(ctx);
	for (u = 0; u < 16; u ++) {
		ctx->cbcmac[u] ^= ctx->nonce[u] ^ ctx->head[u];
	}
}