openssl/crypto/encode_decode
Richard Levitte b3f5d5d368 Refactor OSSL_ENCODER_do_all_provided() to behave like OSSL_ENCODER_fetch()
This is refactored to use inner_ossl_encoder_fetch() without any given
name, which is just there to ensure all encoder implementations are
made into methods, and then use ossl_method_store_do_all() to list
them all.

This also adds the internal ossl_encoder_do_all_prefetched(), which
can be used if pre-fetching needs to be done separately from listing
all the encoder implementations, or if listing may happen multiple
times.

Fixes #15538
Fixes #14837

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15604)
2021-06-15 16:21:32 +02:00
..
build.info
decoder_err.c
decoder_lib.c Add missing NULL check in OSSL_DECODER_from_bio(). 2021-06-15 17:36:42 +10:00
decoder_meth.c Refactor OSSL_DECODER_do_all_provided() to behave like OSSL_DECODER_fetch() 2021-06-15 16:21:31 +02:00
decoder_pkey.c
encoder_err.c
encoder_lib.c
encoder_local.h
encoder_meth.c Refactor OSSL_ENCODER_do_all_provided() to behave like OSSL_ENCODER_fetch() 2021-06-15 16:21:32 +02:00
encoder_pkey.c