GCM mode and GMAC

Niels Möller nisse at lysator.liu.se
Tue Feb 8 14:36:13 CET 2011


Nikos Mavrogiannopoulos <nmav at gnutls.org> writes:

> How does it deal with multi-threaded access?

The worst thing that can happen is that several threads examine the
cpuid flags, and then write identical pointers to the same locations at
approximately the same time.

And as far as I have understod, that is no problem, because, reading and
writing a pointer value is an atomic operations on the concerned
architectures.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.


More information about the nettle-bugs mailing list