diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-03-01 22:52:35 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-05 18:28:09 +1100 |
commit | 1579f1bc3b753d17a44de3457d5c6f4a5b14c752 (patch) | |
tree | fbec2103aa55f71c32035e1e0cfdf530d8939059 /lib | |
parent | c9cc0517bba9f0213f1e55172feceb99e5512daf (diff) | |
download | linux-riscv-1579f1bc3b753d17a44de3457d5c6f4a5b14c752.tar.gz linux-riscv-1579f1bc3b753d17a44de3457d5c6f4a5b14c752.tar.bz2 linux-riscv-1579f1bc3b753d17a44de3457d5c6f4a5b14c752.zip |
crypto: x86/curve25519 - support assemblers with no adx support
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@1wt.eu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions