[openssl/openssl] cc104b: Add OSSL_FN_BITS, use it instead of 'OSSL_FN_BYTES...

"'Richard Levitte' via openssl-commits" <[email protected]>
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/feature/ossl_fn/[email protected]>
  Branch: refs/heads/feature/ossl_fn
  Home:   https://github.com/openssl/openssl
  Commit: cc104b651a176a117bb2c7dcb4ac72db76f8a12d
      https://github.com/openssl/openssl/commit/cc104b651a176a117bb2c7dcb4ac72db76f8a12d
  Author: Richard Levitte <[email protected]>
  Date:   2026-06-14 (Sun, 14 Jun 2026)

  Changed paths:
    M crypto/fn/fn_local.h
    M test/fn_internal_test.c

  Log Message:
  -----------
  Add OSSL_FN_BITS, use it instead of 'OSSL_FN_BYTES * 8'

Reviewed-by: Dmitry Belyavskiy <[email protected]>
Reviewed-by: Igor Ustinov <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
MergeDate: Sun Jun 14 08:35:04 2026
(Merged from https://github.com/openssl/openssl/pull/31452)


  Commit: b4847e73de6ec9adc54c18b477da7b027b1e54e4
      https://github.com/openssl/openssl/commit/b4847e73de6ec9adc54c18b477da7b027b1e54e4
  Author: Richard Levitte <[email protected]>
  Date:   2026-06-14 (Sun, 14 Jun 2026)

  Changed paths:
    M include/crypto/fn.h

  Log Message:
  -----------
  Document OSSL_FN_copy zero-padding of oversized destination limbs

The OSSL_FN_copy() function already zeroes any high destination limbs
beyond the source size, but this was not stated in the public header.
Add an explicit note so callers know unused high bytes are cleared.

Assisted-by: Pi:moonshotai/kimi-k2.6
Signed-off-by: Richard Levitte <[email protected]>

Reviewed-by: Dmitry Belyavskiy <[email protected]>
Reviewed-by: Igor Ustinov <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
MergeDate: Sun Jun 14 08:35:06 2026
(Merged from https://github.com/openssl/openssl/pull/31452)


Compare: https://github.com/openssl/openssl/compare/7190474bc7ed...b4847e73de6e

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/feature/ossl_fn/719047-b4847e%40github.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.