From 6723f86746ab7e8ff9a914603db4f85c53eafc7c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 24 Oct 2018 21:20:00 +0200 Subject: EVP_MAC: Add HMAC implementation Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/7483) --- doc/man7/EVP_MAC_HMAC.pod | 71 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 doc/man7/EVP_MAC_HMAC.pod (limited to 'doc/man7') diff --git a/doc/man7/EVP_MAC_HMAC.pod b/doc/man7/EVP_MAC_HMAC.pod new file mode 100644 index 0000000000..8276ff3f5b --- /dev/null +++ b/doc/man7/EVP_MAC_HMAC.pod @@ -0,0 +1,71 @@ +=pod + +=head1 NAME + +EVP_MAC_HMAC - The HMAC EVP_MAC implementation + +=head1 DESCRIPTION + +Support for computing HMAC MACs through the B API. + +=head2 Numeric identity + +B is the numeric identity for this implementation, and +can be used in functions like EVP_MAC_CTX_new_id() and +EVP_get_macbynid(). + +=head2 Supported controls + +The supported controls are: + +=over 4 + +=item B + +EVP_MAC_ctrl_str() takes to type string for this control: + +=over 4 + +=item "key" + +The value string is used as is. + +=item "hexkey" + +The value string is expected to be a hexadecimal number, which will be +decoded before passing on as control value. + +=back + +=item B + +Sets HMAC flags. This is passed directly to HMAC_CTX_set_flags(). + +There are no corresponding string control types. + +=item B + +=item B + +These work as described in L. + +EVP_MAC_ctrl_str() type string for B: "digest" + +The value is expected to be the name of a cipher. + +=back + +=head1 SEE ALSO + +L, L + +=head1 COPYRIGHT + +Copyright 2018 The OpenSSL Project Authors. All Rights Reserved. + +Licensed under the OpenSSL license (the "License"). You may not use +this file except in compliance with the License. You can obtain a copy +in the file LICENSE in the source distribution or at +L. + +=cut -- cgit v1.2.3