[openssl/openssl] aa7f2e: Improve the performance of EVP_PKCS82PKEY_ex

Matt Caswell noreply at github.com
Mon Mar 6 11:10:35 UTC 2023

  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: aa7f2efcf8a4563f265a6375821877512d4f1316
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M crypto/evp/evp_pkey.c

  Log Message:
  Improve the performance of EVP_PKCS82PKEY_ex

We can easily find out the keytype which should significantly improve
the performance of this function because we don't have to try every loaded

Partial fix for #20399

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20412)

(cherry picked from commit 52ce351a674bf459c836ffd01afb09917889f047)

More information about the openssl-commits mailing list