summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/HMAC.3
diff options
context:
space:
mode:
authortb <>2024-07-21 08:36:43 +0000
committertb <>2024-07-21 08:36:43 +0000
commit4688a563b5da8909cc64fcc7369b1ec5491d5d58 (patch)
treeed0c4a447622751595335dd0ea2ec812761b3861 /src/lib/libcrypto/man/HMAC.3
parentbb0cbaff332e2117f157bdcb8acfe6689a081e39 (diff)
downloadopenbsd-4688a563b5da8909cc64fcc7369b1ec5491d5d58.tar.gz
openbsd-4688a563b5da8909cc64fcc7369b1ec5491d5d58.tar.bz2
openbsd-4688a563b5da8909cc64fcc7369b1ec5491d5d58.zip
Unify description of the obsolete ENGINE parameter
This uses the same language in most manuals mentioning the obsolete ENGINE parameters. Make it clear that it is always ignored and that NULL should be passed. Always call it engine instead of a mix of e pe, impl, eng.
Diffstat (limited to 'src/lib/libcrypto/man/HMAC.3')
-rw-r--r--src/lib/libcrypto/man/HMAC.311
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/HMAC.3 b/src/lib/libcrypto/man/HMAC.3
index fa853bb4a1..dc32a111be 100644
--- a/src/lib/libcrypto/man/HMAC.3
+++ b/src/lib/libcrypto/man/HMAC.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: HMAC.3,v 1.21 2024/05/26 09:54:16 tb Exp $ 1.\" $OpenBSD: HMAC.3,v 1.22 2024/07/21 08:36:43 tb Exp $
2.\" full merge up to: OpenSSL crypto/hmac a528d4f0 Oct 27 13:40:11 2015 -0400 2.\" full merge up to: OpenSSL crypto/hmac a528d4f0 Oct 27 13:40:11 2015 -0400
3.\" selective merge up to: OpenSSL man3/HMAC b3696a55 Sep 2 09:35:50 2017 -0400 3.\" selective merge up to: OpenSSL man3/HMAC b3696a55 Sep 2 09:35:50 2017 -0400
4.\" 4.\"
@@ -52,7 +52,7 @@
52.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 52.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
53.\" OF THE POSSIBILITY OF SUCH DAMAGE. 53.\" OF THE POSSIBILITY OF SUCH DAMAGE.
54.\" 54.\"
55.Dd $Mdocdate: May 26 2024 $ 55.Dd $Mdocdate: July 21 2024 $
56.Dt HMAC 3 56.Dt HMAC 3
57.Os 57.Os
58.Sh NAME 58.Sh NAME
@@ -97,7 +97,7 @@
97.Fa "const void *key" 97.Fa "const void *key"
98.Fa "int key_len" 98.Fa "int key_len"
99.Fa "const EVP_MD *md" 99.Fa "const EVP_MD *md"
100.Fa "ENGINE *impl" 100.Fa "ENGINE *engine"
101.Fc 101.Fc
102.Ft int 102.Ft int
103.Fo HMAC_Init 103.Fo HMAC_Init
@@ -223,6 +223,11 @@ nor the same as the previous digest used by
223.Fa ctx , 223.Fa ctx ,
224then an error is returned because reuse of an existing key with a 224then an error is returned because reuse of an existing key with a
225different digest is not supported. 225different digest is not supported.
226The
227.Fa ENGINE *engine
228argument is always ignored and passing
229.Dv NULL
230is recommended.
226.Pp 231.Pp
227.Fn HMAC_Init 232.Fn HMAC_Init
228is a deprecated wrapper around 233is a deprecated wrapper around