[openssl/openssl] ea0caf: include/internal/constant_time.h: add value_barrie...

"'Dmitry Misharov' via openssl-commits" <[email protected]> Thu, 30 Jul 2026 05:18:38 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/openssl-3.0/[email protected]>
  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: ea0caf4861381e39888ea5a2ed39d0ff896d01c5
      https://github.com/openssl/openssl/commit/ea0caf4861381e39888ea5a2ed39d0ff896d01c5
  Author: Lukas Gerlach <[email protected]>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

  Changed paths:
    M include/internal/constant_time.h

  Log Message:
  -----------
  include/internal/constant_time.h: add value_barrier_bn()

A build breakage has been introduced on openssl-3.0 by commits
38d6c2d5fd6c "Add value_barrier in MOD_EXP_CTIME_COPY_FROM_PREBUF",
0c306f0ad0a8 "Add value_barrier in BN_consttime_swap", and a50aa72aba6c
"Apply suggestion from @andrewkdinh" due to missing value_barrier_bn(),
originally introduced in commit aaa1bda7187c "Optimizated calculation
of shared power of 2 in bn_gcd".  Cherry-pick the part of the commit
that contains the function definition.

Fixes: 38d6c2d5fd6c "Add value_barrier in MOD_EXP_CTIME_COPY_FROM_PREBUF"
Fixes: 0c306f0ad0a8 "Add value_barrier in BN_consttime_swap"
Fixes: a50aa72aba6c "Apply suggestion from @andrewkdinh"
References: aaa1bda7187c "Optimizated calculation of shared power of 2 in bn_gcd"
Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Milan Broz <[email protected]>
Reviewed-by: Norbert Pocs <[email protected]>
MergeDate: Thu Jul 30 12:17:44 2026
(Merged from https://github.com/openssl/openssl/pull/32118)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications

-- 
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/openssl-3.0/a50aa7-ea0caf%40github.com.