GCM mode and GMAC
nisse at lysator.liu.se
Tue Feb 8 13:26:43 CET 2011
Nikos Mavrogiannopoulos <nmav at gnutls.org> writes:
> On 02/08/2011 12:11 PM, Niels Möller wrote:
>> I think we should use global pointers, one for each routine that can
>> make use special instructions. Either setup automagically at first
>> use, or at library load time (using the same mechanisms as C++
> I like the latter... An explicit global library initialization function
> might also do.
GMP does the former. Not as pretty, but seems to work well, and maybe a
bit easier to do portably.
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
More information about the nettle-bugs