[openssl/openssl] b91694: Optimization of ossl_ec_key_public_check()

Tomáš Mráz noreply at github.com
Tue Jul 16 13:38:56 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: b916940752e4de5922553b1cf482687dfc653f7a
      https://github.com/openssl/openssl/commit/b916940752e4de5922553b1cf482687dfc653f7a
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M crypto/ec/ec_key.c

  Log Message:
  -----------
  Optimization of ossl_ec_key_public_check()

We can do just the quick check if cofactor == 1 as the
fact that the point is on the curve already implies
that order * point = infinity.

Fixes #21833

Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Paul Dale <ppzgs1 at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24816)



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