diff options
| author | tb <> | 2023-04-25 19:32:19 +0000 |
|---|---|---|
| committer | tb <> | 2023-04-25 19:32:19 +0000 |
| commit | 241d43b2b24344a3196eb6c46c3513c7f5a69a13 (patch) | |
| tree | d18da749d459956ac6cf671fbba2ec99992a6d9c /src/lib/libc | |
| parent | b79c6954d86ef0c9b626d3104645a9ac27d93072 (diff) | |
| download | openbsd-241d43b2b24344a3196eb6c46c3513c7f5a69a13.tar.gz openbsd-241d43b2b24344a3196eb6c46c3513c7f5a69a13.tar.bz2 openbsd-241d43b2b24344a3196eb6c46c3513c7f5a69a13.zip | |
Remove duplicate NID definitions
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/sha/sha3_internal.h | 12 |
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 | ||
