CORE: Add an algorithm_description field to OSSL_ALGORITHM
authorRichard Levitte <levitte@openssl.org>
Tue, 16 Mar 2021 13:14:43 +0000 (14:14 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 2 Apr 2021 06:52:37 +0000 (08:52 +0200)
commit309a78aa305ee14878e453c78ccf9a7dc91264cf
tree82b3791b395f3e6557084d08cdf3058a30eb38e2
parent650c66873793bed505802f316b15772a0f887743
CORE: Add an algorithm_description field to OSSL_ALGORITHM

This corresponds to the |info| field in EVP_PKEY_ASN1_METHOD, as well
as the generic use of OBJ_nid2ln() as a one line description.

We also add the base functionality to make use of this field.

Fixes #14514

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14656)
23 files changed:
crypto/encode_decode/decoder_meth.c
crypto/encode_decode/encoder_local.h
crypto/encode_decode/encoder_meth.c
crypto/evp/asymcipher.c
crypto/evp/digest.c
crypto/evp/evp_enc.c
crypto/evp/evp_fetch.c
crypto/evp/evp_local.h
crypto/evp/evp_rand.c
crypto/evp/exchange.c
crypto/evp/kdf_meth.c
crypto/evp/kem.c
crypto/evp/keymgmt_meth.c
crypto/evp/mac_meth.c
crypto/evp/signature.c
crypto/store/store_local.h
crypto/store/store_meth.c
doc/internal/man3/evp_generic_fetch.pod
include/crypto/decoder.h
include/crypto/evp.h
include/openssl/core.h
providers/implementations/storemgmt/file_store.c
providers/implementations/storemgmt/file_store_der2obj.c