aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2025-11-03 19:11:24 +0000
committerEric Biggers <[email protected]>2025-11-04 17:35:58 +0000
commit2b81082ad37cc3f28355fb73a6a69b91ff7dbf20 (patch)
treee53222dc8701f3766087874b94dc9ab6c19ed4f5 /lib/mpi/mpi-mod.c
parentlib/crypto: poly1305: Restore dependency of arch code on !KMSAN (diff)
downloadkernel-2b81082ad37cc3f28355fb73a6a69b91ff7dbf20.tar.gz
kernel-2b81082ad37cc3f28355fb73a6a69b91ff7dbf20.zip
lib/crypto: curve25519-hacl64: Fix older clang KASAN workaround for GCC
Commit 2f13daee2a72 ("lib/crypto/curve25519-hacl64: Disable KASAN with clang-17 and older") inadvertently disabled KASAN in curve25519-hacl64.o for GCC unconditionally because clang-min-version will always evaluate to nothing for GCC. Add a check for CONFIG_CC_IS_CLANG to avoid applying the workaround for GCC, which is only needed for clang-17 and older. Cc: [email protected] Fixes: 2f13daee2a72 ("lib/crypto/curve25519-hacl64: Disable KASAN with clang-17 and older") Signed-off-by: Nathan Chancellor <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/20251103-curve25519-hacl64-fix-kasan-workaround-v2-1-ab581cbd8035@kernel.org Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions