summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-04-25 19:32:19 +0000
committertb <>2023-04-25 19:32:19 +0000
commit10166f46849aac9644f432292c0e26245e83652a (patch)
treed18da749d459956ac6cf671fbba2ec99992a6d9c /src/lib
parentf6f342156e6bbedcd5ab59533a8722198a6a7146 (diff)
downloadopenbsd-10166f46849aac9644f432292c0e26245e83652a.tar.gz
openbsd-10166f46849aac9644f432292c0e26245e83652a.tar.bz2
openbsd-10166f46849aac9644f432292c0e26245e83652a.zip
Remove duplicate NID definitions
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/sha/sha3_internal.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/libcrypto/sha/sha3_internal.h b/src/lib/libcrypto/sha/sha3_internal.h
index d6fe3b8345..53a4980c19 100644
--- a/src/lib/libcrypto/sha/sha3_internal.h
+++ b/src/lib/libcrypto/sha/sha3_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha3_internal.h,v 1.14 2023/04/16 17:06:19 jsing Exp $ */ 1/* $OpenBSD: sha3_internal.h,v 1.15 2023/04/25 19:32:19 tb Exp $ */
2/* 2/*
3 * The MIT License (MIT) 3 * The MIT License (MIT)
4 * 4 *
@@ -29,16 +29,6 @@
29#ifndef HEADER_SHA3_INTERNAL_H 29#ifndef HEADER_SHA3_INTERNAL_H
30#define HEADER_SHA3_INTERNAL_H 30#define HEADER_SHA3_INTERNAL_H
31 31
32#define NID_sha3_224 1031
33#define NID_sha3_256 1032
34#define NID_sha3_384 1033
35#define NID_sha3_512 1034
36
37#define NID_RSA_SHA3_224 1049
38#define NID_RSA_SHA3_256 1050
39#define NID_RSA_SHA3_384 1051
40#define NID_RSA_SHA3_512 1052
41
42#define KECCAK_BIT_WIDTH 1600 32#define KECCAK_BIT_WIDTH 1600
43#define KECCAK_BYTE_WIDTH (KECCAK_BIT_WIDTH / 8) 33#define KECCAK_BYTE_WIDTH (KECCAK_BIT_WIDTH / 8)
44 34