[openssl/openssl] 7665cb: curve448: make locally-used functions static and r...

"'esyr' via openssl-commits" <[email protected]>
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 7665cb196bf106ef5e91e139da760a2e8c31d860
      https://github.com/openssl/openssl/commit/7665cb196bf106ef5e91e139da760a2e8c31d860
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    M crypto/ec/curve448/ed448.h
    M crypto/ec/curve448/eddsa.c

  Log Message:
  -----------
  curve448: make locally-used functions static and remove unused ones

ossl_c448_ed448_derive_public_key(), ossl_c448_ed448_sign(),
and ossl_c448_ed448_verify() are only called from within the compilation
unit, while ossl_c448_ed448_convert_private_key_to_x448(),
ossl_c448_ed448_sign_prehash() and ossl_c448_ed448_verify_prehash()
are not used anywhere, seemingly.  Make the former static (removing
them from the header, removing the ossl_ prefix, and moving
the descriptions to the definitions) and remove the latter.

Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Bob Beck <[email protected]>
Reviewed-by: Norbert Pocs <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Fri Jun 12 13:11:48 2026
(Merged from https://github.com/openssl/openssl/pull/31362)


  Commit: c586165856a3651bca688c38e45f36fb59bed8fb
      https://github.com/openssl/openssl/commit/c586165856a3651bca688c38e45f36fb59bed8fb
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    M crypto/ec/curve448/eddsa.c

  Log Message:
  -----------
  crypto/ec/curve448/eddsa.c: make dom_s constant static in hash_init_with_dom()

Otherwise it is allocated on stack and initialised on each call.

Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Bob Beck <[email protected]>
Reviewed-by: Norbert Pocs <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Fri Jun 12 13:11:50 2026
(Merged from https://github.com/openssl/openssl/pull/31362)


Compare: https://github.com/openssl/openssl/compare/afd25111f12a...c586165856a3

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/master/afd251-c58616%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.