summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hmac
diff options
context:
space:
mode:
authortb <>2023-04-25 15:48:48 +0000
committertb <>2023-04-25 15:48:48 +0000
commitaa06ff6ff84baafcac76b48d7a0dcd4f9d00d7d2 (patch)
tree8fc6489b768abe5eb7eafc75ed8631756451a226 /src/lib/libcrypto/hmac
parent9670fcb7ce8b0f516e7924baa6167b992630dc77 (diff)
downloadopenbsd-aa06ff6ff84baafcac76b48d7a0dcd4f9d00d7d2.tar.gz
openbsd-aa06ff6ff84baafcac76b48d7a0dcd4f9d00d7d2.tar.bz2
openbsd-aa06ff6ff84baafcac76b48d7a0dcd4f9d00d7d2.zip
Wire up truncated SHA-2, SHA-3 and related things
from jsing
Diffstat (limited to 'src/lib/libcrypto/hmac')
-rw-r--r--src/lib/libcrypto/hmac/hmac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/hmac/hmac.h b/src/lib/libcrypto/hmac/hmac.h
index ff01ae26b0..1ce365294c 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.16 2022/01/14 08:06:03 tb Exp $ */ 1/* $OpenBSD: hmac.h,v 1.17 2023/04/25 15:48:48 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 *
@@ -66,7 +66,7 @@
66 66
67#include <openssl/evp.h> 67#include <openssl/evp.h>
68 68
69#define HMAC_MAX_MD_CBLOCK 128 /* largest known is SHA512 */ 69#define HMAC_MAX_MD_CBLOCK 144 /* largest known is SHA3-224 */
70 70
71#ifdef __cplusplus 71#ifdef __cplusplus
72extern "C" { 72extern "C" {