]> git.ipfire.org Git - thirdparty/openssl.git/commit
ENCODER: Add support for OSSL_FUNC_encoder_does_selection()
authorRichard Levitte <levitte@openssl.org>
Sat, 17 Oct 2020 06:17:41 +0000 (08:17 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 11 Nov 2020 11:43:27 +0000 (12:43 +0100)
commitcd861ab73d57ea21dd7342b13f4a733da229e15e
tree2053867e039904f8dfad6794ac775d668e34796a
parent8a98a507fb9a06254c79af4d9c9104f5f300a032
ENCODER: Add support for OSSL_FUNC_encoder_does_selection()

OSSL_FUNC_encoder_does_selection() is a dispatchable encoder implementation
function that should return 1 if the given |selection| is supported by an
encoder implementation and 0 if not.  This can be used by libcrypto
functionality to figure out if an encoder implementation should be
considered or not.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13167)
crypto/encode_decode/encoder_local.h
crypto/encode_decode/encoder_meth.c
doc/man7/provider-encoder.pod
include/openssl/core_dispatch.h