From 8d66484d5bc1482f15919f88c5812dc2994b81e7 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sun, 16 Apr 2023 16:42:06 +0000 Subject: Provide EVP methods for SHA512/224 and SHA512/256. ok tb@ --- src/lib/libcrypto/sha/sha_internal.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/sha/sha_internal.h') diff --git a/src/lib/libcrypto/sha/sha_internal.h b/src/lib/libcrypto/sha/sha_internal.h index c479993185..1a0f449a20 100644 --- a/src/lib/libcrypto/sha/sha_internal.h +++ b/src/lib/libcrypto/sha/sha_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sha_internal.h,v 1.1 2023/04/14 10:45:15 jsing Exp $ */ +/* $OpenBSD: sha_internal.h,v 1.2 2023/04/16 16:42:06 jsing Exp $ */ /* * Copyright (c) 2023 Joel Sing * @@ -20,6 +20,11 @@ #ifndef HEADER_SHA_INTERNAL_H #define HEADER_SHA_INTERNAL_H +#define NID_sha512_224WithRSAEncryption 1025 +#define NID_sha512_256WithRSAEncryption 1026 +#define NID_sha512_224 1029 +#define NID_sha512_256 1030 + #define SHA512_224_DIGEST_LENGTH 28 #define SHA512_256_DIGEST_LENGTH 32 -- cgit v1.2.3-55-g6feb