Add internal function ossl_algorithm_do_all()
authorRichard Levitte <levitte@openssl.org>
Wed, 10 Jul 2019 21:11:27 +0000 (23:11 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 23 Jul 2019 04:34:09 +0000 (06:34 +0200)
commita883c02faa2549c98256577fd881af17b95444cf
tree1bcae7a34e61f8f10cda832bf52fa3eb3d0e1957
parentb37066fdf731dc186f87d816c59ea412418f3d9d
Add internal function ossl_algorithm_do_all()

This function is used to traverse all the implementations provided by
one provider, or all implementation for a specific operation across
all loaded providers, or both, and execute a given function for each
occurence.

This will be used by ossl_method_construct(), but also by information
processing functions.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9356)
crypto/build.info
crypto/core_algorithm.c [new file with mode: 0644]
doc/internal/man3/ossl_algorithm_do_all.pod [new file with mode: 0644]
include/internal/core.h
include/openssl/core_numbers.h