aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man3/EVP_MAC.pod
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-09-23 11:16:21 +0200
committerRichard Levitte <levitte@openssl.org>2019-10-17 09:16:45 +0200
commit506cb0f6322b24c980273ff5cd8f2c973a12b42f (patch)
tree773bbde5c66b9bc899c1e4d986e1a39ee3bb2f72 /doc/man3/EVP_MAC.pod
parentf651c727f85813085355bb207cf913288108ed79 (diff)
downloadopenssl-506cb0f6322b24c980273ff5cd8f2c973a12b42f.tar.gz
EVP: add functions that return the name number
The returned number can be used for comparison purposes. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/9979)
Diffstat (limited to 'doc/man3/EVP_MAC.pod')
-rw-r--r--doc/man3/EVP_MAC.pod6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/man3/EVP_MAC.pod b/doc/man3/EVP_MAC.pod
index cd3755d8ef..1081314879 100644
--- a/doc/man3/EVP_MAC.pod
+++ b/doc/man3/EVP_MAC.pod
@@ -3,7 +3,7 @@
=head1 NAME
EVP_MAC, EVP_MAC_fetch, EVP_MAC_up_ref, EVP_MAC_free,
-EVP_MAC_is_a, EVP_MAC_names_do_all,
+EVP_MAC_is_a, EVP_MAC_number, EVP_MAC_names_do_all,
EVP_MAC_provider, EVP_MAC_get_params, EVP_MAC_gettable_params,
EVP_MAC_CTX, EVP_MAC_CTX_new, EVP_MAC_CTX_free, EVP_MAC_CTX_dup,
EVP_MAC_CTX_mac, EVP_MAC_CTX_get_params, EVP_MAC_CTX_set_params,
@@ -23,6 +23,7 @@ EVP_MAC_do_all_provided - EVP MAC routines
int EVP_MAC_up_ref(EVP_MAC *mac);
void EVP_MAC_free(EVP_MAC *mac);
int EVP_MAC_is_a(const EVP_MAC *mac, const char *name);
+ int EVP_MAC_number(const EVP_MAC *mac);
void EVP_MAC_names_do_all(const EVP_MAC *mac,
void (*fn)(const char *name, void *data),
void *data);
@@ -170,6 +171,9 @@ providers in the given library context I<libctx>, and for each of the
implementations, calls the given function I<fn> with the implementation method
and the given I<arg> as argument.
+EVP_MAC_number() returns the internal dynamic number assigned to
+I<mac>.
+
EVP_MAC_names_do_all() traverses all names for I<mac>, and calls
I<fn> with each name and I<data>.