Re: [PATCH v2 18/20] crypto: arm/Curve25519 - wire up NEON implementation

2019-10-04 Thread Ard Biesheuvel
On Fri, 4 Oct 2019 at 16:01, Jason A. Donenfeld wrote: > > On Wed, Oct 02, 2019 at 04:17:11PM +0200, Ard Biesheuvel wrote: > > +bool curve25519_arch(u8 out[CURVE25519_KEY_SIZE], > > + const u8 scalar[CURVE25519_KEY_SIZE], > > + const u8 point[CURVE25519_KEY_SIZE])

Re: [PATCH v2 18/20] crypto: arm/Curve25519 - wire up NEON implementation

2019-10-04 Thread Jason A. Donenfeld
On Wed, Oct 02, 2019 at 04:17:11PM +0200, Ard Biesheuvel wrote: > +bool curve25519_arch(u8 out[CURVE25519_KEY_SIZE], > + const u8 scalar[CURVE25519_KEY_SIZE], > + const u8 point[CURVE25519_KEY_SIZE]) > +{ > + if (!have_neon || !crypto_simd_usable()) > +