From: Pauli Date: Wed, 5 May 2021 01:22:08 +0000 (+1000) Subject: doc: document the new ossl_provider_clear_all_operation_bits() function X-Git-Tag: openssl-3.0.0-alpha17~224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2876528de594308df43301a5f282e7eec69b8ff5;p=thirdparty%2Fopenssl.git doc: document the new ossl_provider_clear_all_operation_bits() function Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/15042) --- diff --git a/doc/internal/man3/ossl_provider_new.pod b/doc/internal/man3/ossl_provider_new.pod index 8506839dee2..e83869a9dea 100644 --- a/doc/internal/man3/ossl_provider_new.pod +++ b/doc/internal/man3/ossl_provider_new.pod @@ -13,7 +13,7 @@ ossl_provider_name, ossl_provider_dso, ossl_provider_module_name, ossl_provider_module_path, ossl_provider_libctx, ossl_provider_teardown, ossl_provider_gettable_params, -ossl_provider_get_params, +ossl_provider_get_params, ossl_provider_clear_all_operation_bits, ossl_provider_query_operation, ossl_provider_unquery_operation, ossl_provider_set_operation_bit, ossl_provider_test_operation_bit, ossl_provider_get_capabilities @@ -80,6 +80,7 @@ ossl_provider_get_capabilities int ossl_provider_set_operation_bit(OSSL_PROVIDER *provider, size_t bitnum); int ossl_provider_test_operation_bit(OSSL_PROVIDER *provider, size_t bitnum, int *result); + int ossl_provider_clear_all_operation_bits(OSSL_LIB_CTX *libctx); =head1 DESCRIPTION @@ -245,10 +246,13 @@ that all relevant information has been copied. ossl_provider_set_operation_bit() registers a 1 for operation I in a bitstring that's internal to I. -ossl_provider_tests_operation_bit() checks if the bit operation I +ossl_provider_test_operation_bit() checks if the bit operation I is set (1) or not (0) in the internal I bitstring, and sets I<*result> to 1 or 0 accorddingly. +ossl_provider_clear_all_operation_bits() clears all of the operation bits +to (0) for all providers in the library context I. + =head1 NOTES Locating a provider module happens as follows: @@ -319,6 +323,8 @@ If this function isn't available in the provider, 0 is returned. ossl_provider_set_operation_bit() and ossl_provider_test_operation_bit() return 1 on success, or 0 on error. +ossl_provider_clear_all_operation_bits() returns 1 on success, or 0 on error. + ossl_provider_get_capabilities() returns 1 on success, or 0 on error. If this function isn't available in the provider or the provider does not support the requested capability then 0 is returned.