summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hmac/hmac.h
diff options
context:
space:
mode:
authortb <>2024-08-31 10:42:21 +0000
committertb <>2024-08-31 10:42:21 +0000
commit50e7b8e3a51beeb992068b20edea932e63a73b3c (patch)
tree90f3cf1cb1bf531bd7dfe87fad014ab5e62033b5 /src/lib/libcrypto/hmac/hmac.h
parent5f2f30a42713c09c044e2c44e73efbb410607666 (diff)
downloadopenbsd-50e7b8e3a51beeb992068b20edea932e63a73b3c.tar.gz
openbsd-50e7b8e3a51beeb992068b20edea932e63a73b3c.tar.bz2
openbsd-50e7b8e3a51beeb992068b20edea932e63a73b3c.zip
Zap HMAC_Init
Long deprecated, last users have been fixed. ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/hmac/hmac.h')
-rw-r--r--src/lib/libcrypto/hmac/hmac.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/hmac/hmac.h b/src/lib/libcrypto/hmac/hmac.h
index 0f39009c9d..6f29972aad 100644
--- a/src/lib/libcrypto/hmac/hmac.h
+++ b/src/lib/libcrypto/hmac/hmac.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: hmac.h,v 1.19 2024/07/09 07:57:57 tb Exp $ */ 1/* $OpenBSD: hmac.h,v 1.20 2024/08/31 10:42:21 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -82,8 +82,6 @@ HMAC_CTX *HMAC_CTX_new(void);
82void HMAC_CTX_free(HMAC_CTX *ctx); 82void HMAC_CTX_free(HMAC_CTX *ctx);
83int HMAC_CTX_reset(HMAC_CTX *ctx); 83int HMAC_CTX_reset(HMAC_CTX *ctx);
84 84
85int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md)
86 __attribute__ ((__bounded__(__buffer__, 2, 3)));
87int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md, 85int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md,
88 ENGINE *impl) 86 ENGINE *impl)
89 __attribute__ ((__bounded__(__buffer__, 2, 3))); 87 __attribute__ ((__bounded__(__buffer__, 2, 3)));