Re: [PowerPC] GCM optimization

2020-11-26 Thread Niels Möller
Maamoun TK writes: > To suppress these warnings we need to declare a prototype for > _nettle_gcm_init_key() and _nettle_gcm_hash() if "HAVE_NATIVE_gcm_init_key" > and "HAVE_NATIVE_gcm_hash" are defined respectively. Could be fixed in the new gcm-internal.h file. (I don't quite like that it needs

Re: [PowerPC] GCM optimization

2020-11-26 Thread Maamoun TK
Great. It works on PowerPC with configure options "./configure", "./configure --enable-power-crypto-ext", and "./configure --enable-fat" and get the expected results. However, there are two warning popped up when configured with --enable-power-crypto-ext gcm.c: In function ‘nettle_gcm_set_key’:

Re: [PowerPC] GCM optimization

2020-11-26 Thread Niels Möller
Niels Möller writes: > Maamoun TK writes: > >>> I'll make a pull request for fat build support. >>> >> >> Done! > > I added two comments on the merge request. I reorganized the ifdefs a bit more, and pushed to the ppc-gcm branch. Tested on gcc112. Please try it out. Regards, /Niels -- Niels