[openssl/openssl] db70e4: Add value_barrier in MOD_EXP_CTIME_COPY_FROM_PREBUF

"'Kurt Roeckx' via openssl-commits" <[email protected]> Wed, 29 Jul 2026 10:07:38 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/openssl-4.0/[email protected]>
  Branch: refs/heads/openssl-4.0
  Home:   https://github.com/openssl/openssl
  Commit: db70e44049edeb77ee9b9d3252de66166195f534
      https://github.com/openssl/openssl/commit/db70e44049edeb77ee9b9d3252de66166195f534
  Author: Kurt Roeckx <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M crypto/bn/bn_exp.c

  Log Message:
  -----------
  Add value_barrier in MOD_EXP_CTIME_COPY_FROM_PREBUF

Without it, compilers can figure out the possible values and optimize
based on it.

Reviewed-by: Andrew Dinh <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Eugene Syromiatnikov <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Wed Jul 29 17:04:46 2026
(Merged from https://github.com/openssl/openssl/pull/31957)

(cherry picked from commit f8c26111bab30399d0c9262269089639ff8e4746)


  Commit: 25bc4152e55feb60584f00f4a14b8a0304ce1c29
      https://github.com/openssl/openssl/commit/25bc4152e55feb60584f00f4a14b8a0304ce1c29
  Author: Kurt Roeckx <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M crypto/bn/bn_lib.c

  Log Message:
  -----------
  Add value_barrier in BN_consttime_swap

Without it, compilers can figure out the possible values and optimize
based on it.

Reviewed-by: Andrew Dinh <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Eugene Syromiatnikov <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Wed Jul 29 17:04:47 2026
(Merged from https://github.com/openssl/openssl/pull/31957)

(cherry picked from commit 1d7a8dd73ff9e0fc197611433b9b60b4b5f5465c)


  Commit: 604b380df11e938d9a6714ea6f8a91a6f6f350ac
      https://github.com/openssl/openssl/commit/604b380df11e938d9a6714ea6f8a91a6f6f350ac
  Author: Kurt Roeckx <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M crypto/bn/bn_exp.c

  Log Message:
  -----------
  Apply suggestion from @andrewkdinh

Co-authored-by: Andrew Dinh <[email protected]>

Reviewed-by: Andrew Dinh <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Eugene Syromiatnikov <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Wed Jul 29 17:04:49 2026
(Merged from https://github.com/openssl/openssl/pull/31957)

(cherry picked from commit 33482fbddcf137dde9bd84ae12f2f02cbc358c78)


Compare: https://github.com/openssl/openssl/compare/296ce3057849...604b380df11e

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-4.0/296ce3-604b38%40github.com.