From 0c037d9fe269fc0d16e78a2169d1959f10888c46 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Mon, 8 Jul 2024 09:47:56 +0200 Subject: [PATCH] Fix initial value of `pclmul_available` when `__PCLMUL__` is not defined Previous value was causing too many calls to `pclmul_check_available`. --- src/pclmul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pclmul.c b/src/pclmul.c index 0c6de07..e47cd66 100644 --- a/src/pclmul.c +++ b/src/pclmul.c @@ -102,7 +102,7 @@ EXPORT void pclmul_mult(uint8_t res[16], #else -EXPORT int pclmul_available = -1; +EXPORT int pclmul_available = 0; EXPORT int pclmul_check_available(void) { return 0; }