On Sun, Mar 01, 2020 at 10:52:35PM +0800, Jason A. Donenfeld wrote: > Some older version of GAS do not support the ADX instructions, similarly > to how they also don't support AVX and such. This commit adds the same > build-time detection mechanisms we use for AVX and others for ADX, and > then makes sure that the curve25519 library dispatcher calls the right > functions. > > Reported-by: Willy Tarreau <w@xxxxxx> > Signed-off-by: Jason A. Donenfeld <Jason@xxxxxxxxx> > --- > This patch is meant for 5.6-rcX. > > arch/x86/Makefile | 5 +++-- > arch/x86/crypto/Makefile | 7 ++++++- > include/crypto/curve25519.h | 6 ++++-- > 3 files changed, 13 insertions(+), 5 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt