[openssl/openssl] 23b6ef: Allow group methods to customize initialization fo...

Watson Ladd noreply at github.com
Wed Jun 5 09:14:23 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 23b6ef4894679aa0278c93de29007d1e695856ee
      https://github.com/openssl/openssl/commit/23b6ef4894679aa0278c93de29007d1e695856ee
  Author: Watson Ladd <watsonbladd at gmail.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M CHANGES.md
    M crypto/bn/bn_mont.c
    M crypto/ec/ec_curve.c
    M crypto/ec/ec_local.h
    M crypto/ec/ecp_nistz256.c
    M include/crypto/bn.h
    M test/ec_internal_test.c

  Log Message:
  -----------
  Allow group methods to customize initialization for speed

This commit also adds an implementation for P256 that avoids some
expensive initialization of Montgomery arithmetic structures in favor
of precomputation. Since ECC groups are not always cached by higher
layers this brings significant savings to TLS handshakes.

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22746)



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


More information about the openssl-commits mailing list