summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha/sha3_internal.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/sha/sha3_internal.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/libcrypto/sha/sha3_internal.h b/src/lib/libcrypto/sha/sha3_internal.h
index 91b1a43b25..d6fe3b8345 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.13 2023/04/15 20:00:24 jsing Exp $ */ 1/* $OpenBSD: sha3_internal.h,v 1.14 2023/04/16 17:06:19 jsing Exp $ */
2/* 2/*
3 * The MIT License (MIT) 3 * The MIT License (MIT)
4 * 4 *
@@ -29,6 +29,16 @@
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
32#define KECCAK_BIT_WIDTH 1600 42#define KECCAK_BIT_WIDTH 1600
33#define KECCAK_BYTE_WIDTH (KECCAK_BIT_WIDTH / 8) 43#define KECCAK_BYTE_WIDTH (KECCAK_BIT_WIDTH / 8)
34 44