Nikos Mavrogiannopoulos nmav@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?
Regards, /Niels