GCM mode and GMAC
Nikos Mavrogiannopoulos
nmav at gnutls.org
Mon Feb 7 22:49:22 CET 2011
On 02/07/2011 05:01 PM, Niels Möller wrote:
> Nikos Mavrogiannopoulos <nmav at gnutls.org> writes:
>
>> Could be... Another thing. I've implicitly used gcm_set_iv() as a
>> way to reset the GCM mode. Unfortunately it is not enough.
> It's intended to work, current gcm_set_iv in cvs does /* Reset the
> rest of the message-dependent state. */ memset(ctx->x, 0,
> sizeof(ctx->x)); ctx->auth_size = ctx->data_size = 0; Is there
> something I'm missing?
No forget it. I was mistaken on the reason of the issue I had. The
current version is ok and inter-operable with.other TLS-GCM versions.
regards,
Nikos
More information about the nettle-bugs
mailing list