aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIgor Ustinov <[email protected]>2026-07-28 22:09:29 +0200
committerNorbert Pocs <[email protected]>2026-09-29 13:23:48 +0200
commitf297baaa1142ab42e628fdd7a54b96592d2559dd (patch)
treefb197825230186d96eaec8b2d619918528652cf5 /include
parentAdd regression tests for the SSL_set_SSL_CTX() sigalg state (diff)
downloadopenssl-f297baaa1142ab42e628fdd7a54b96592d2559dd.tar.gz
openssl-f297baaa1142ab42e628fdd7a54b96592d2559dd.zip
ec: make ossl_ec_scalar_mul_ladder() scalar padding constant time
Fixes CVE-2026-54872 Assisted-by: Claude:claude-opus-4-8 Reviewed-by: Alicja Kario <[email protected]> Reviewed-by: Viktor Dukhovni <[email protected]> Merge-date: Tue Sep 29 11:23:53 2026
Diffstat (limited to 'include')
-rw-r--r--include/crypto/bn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/bn.h b/include/crypto/bn.h
index d2caade6a4a..1336cb8d167 100644
--- a/include/crypto/bn.h
+++ b/include/crypto/bn.h
@@ -18,6 +18,7 @@ BIGNUM *bn_wexpand(BIGNUM *a, int words);
BIGNUM *bn_expand2(BIGNUM *a, int words);
void bn_correct_top(BIGNUM *a);
+int bn_set_top_fixed(BIGNUM *a, int words);
/*
* Determine the modified width-(w+1) Non-Adjacent Form (wNAF) of 'scalar'.