[openssl/openssl] 52ce35: Improve the performance of EVP_PKCS82PKEY_ex

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


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 52ce351a674bf459c836ffd01afb09917889f047
      https://github.com/openssl/openssl/commit/52ce351a674bf459c836ffd01afb09917889f047
  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
decoder.

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)




More information about the openssl-commits mailing list