CORE: add a provider argument to ossl_method_construct()
authorRichard Levitte <levitte@openssl.org>
Thu, 30 Sep 2021 07:32:57 +0000 (09:32 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 27 Oct 2021 10:46:15 +0000 (12:46 +0200)
commit203ef4d7bfa65813dfa6fd49fb84c787e22b8c0c
tree8c20c8aa8f60b01c12efbde0ab05d768f7ef4985
parentc4105ed91ffc020455847ef97293eab262deddd7
CORE: add a provider argument to ossl_method_construct()

This makes it possible to limit the search of methods to that
particular provider.  This uses already available possibilities in
ossl_algorithm_do_all().

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16725)

(cherry picked from commit cfce50f791511c8fee7dec90c57f02d9410d039f)
crypto/core_algorithm.c
crypto/core_fetch.c
crypto/encode_decode/decoder_meth.c
crypto/encode_decode/encoder_meth.c
crypto/evp/evp_fetch.c
crypto/store/store_meth.c
doc/internal/man3/ossl_method_construct.pod
include/internal/core.h