aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-10-25 17:10:44 +0100
committerMatt Caswell <matt@openssl.org>2016-11-04 12:09:46 +0000
commit8d2b1819ef66206d19c1b0ecbf3ca882fed04721 (patch)
tree800d2635bb8c6bb2f3ab6ec0c2eb57a30a229c7b
parentbe2ef0e2e3842114054d26c3429016dc894a1359 (diff)
downloadopenssl-8d2b1819ef66206d19c1b0ecbf3ca882fed04721.zip
openssl-8d2b1819ef66206d19c1b0ecbf3ca882fed04721.tar.gz
openssl-8d2b1819ef66206d19c1b0ecbf3ca882fed04721.tar.bz2
Document the HMAC_size() function
Reviewed-by: Rich Salz <rsalz@openssl.org>
-rw-r--r--doc/man3/HMAC.pod10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/man3/HMAC.pod b/doc/man3/HMAC.pod
index 87f7e33..595d67d 100644
--- a/doc/man3/HMAC.pod
+++ b/doc/man3/HMAC.pod
@@ -12,7 +12,8 @@ HMAC_Update,
HMAC_Final,
HMAC_CTX_copy,
HMAC_CTX_set_flags,
-HMAC_CTX_get_md
+HMAC_CTX_get_md,
+HMAC_size
- HMAC message authentication code
=head1 SYNOPSIS
@@ -37,6 +38,8 @@ HMAC_CTX_get_md
void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags);
const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx);
+ size_t HMAC_size(const HMAC_CTX *e);
+
Deprecated:
#if OPENSSL_API_COMPAT < 0x10100000L
@@ -105,6 +108,8 @@ These flags have the same meaning as for L<EVP_MD_CTX_set_flags(3)>.
HMAC_CTX_get_md() returns the EVP_MD that has previously been set for the
supplied HMAC_CTX.
+HMAC_size() returns the length in bytes of the underlying hash function output.
+
=head1 RETURN VALUES
HMAC() returns a pointer to the message authentication code or NULL if
@@ -119,6 +124,9 @@ HMAC_CTX_copy() return 1 for success or 0 if an error occurred.
HMAC_CTX_get_md() return the EVP_MD previously set for the supplied HMAC_CTX or
NULL if no EVP_MD has been set.
+HMAC_size() returns the length in bytes of the underlying hash function output
+or zero on error.
+
=head1 CONFORMING TO
RFC 2104