diff options
author | Richard Levitte <levitte@openssl.org> | 2020-09-02 15:54:13 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-09-08 12:06:35 +0200 |
commit | 86df26b3943509219057ae87f8764b3c15e0d8b8 (patch) | |
tree | 8e30eef381d0c2a77af161894bb4d9f7d0663b00 /util | |
parent | ea0add4a822749d620714a4660eedd86a91e8e1b (diff) |
EVP: Add support for delayed EVP_PKEY operation parameters
They get called "delayed parameters" because they may make it to the
implementation at a later time than when they're given.
This currently only covers the distinguished ID, as that's the only
EVP_PKEY operation parameter so far that has been possible to give
before the operation has been initialized.
This includes a re-implementation of EVP_PKEY_CTX_set1_id(),
EVP_PKEY_CTX_get1_id(), and EVP_PKEY_CTX_get1_id_len().
Also, the more rigorous controls of keytype and optype are restored.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12789)
Diffstat (limited to 'util')
-rw-r--r-- | util/libcrypto.num | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index 26a9961d76..854e447ada 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -5296,3 +5296,6 @@ asn1_d2i_read_bio ? 3_0_0 EXIST::FUNCTION: EVP_PKCS82PKEY_with_libctx ? 3_0_0 EXIST::FUNCTION: ossl_b2i ? 3_0_0 EXIST::FUNCTION:DSA ossl_b2i_bio ? 3_0_0 EXIST::FUNCTION:DSA +EVP_PKEY_CTX_set1_id ? 3_0_0 EXIST::FUNCTION:EC +EVP_PKEY_CTX_get1_id ? 3_0_0 EXIST::FUNCTION:EC +EVP_PKEY_CTX_get1_id_len ? 3_0_0 EXIST::FUNCTION:EC |