diff options
author | jsing <> | 2023-04-16 16:42:06 +0000 |
---|---|---|
committer | jsing <> | 2023-04-16 16:42:06 +0000 |
commit | 8d66484d5bc1482f15919f88c5812dc2994b81e7 (patch) | |
tree | e64ce8b789b434b3699244e110a8a1f63ac84413 /src/lib/libcrypto/sha/sha_internal.h | |
parent | 50bbf7a93efba8cdbac043586d793a869d8ef88c (diff) | |
download | openbsd-8d66484d5bc1482f15919f88c5812dc2994b81e7.tar.gz openbsd-8d66484d5bc1482f15919f88c5812dc2994b81e7.tar.bz2 openbsd-8d66484d5bc1482f15919f88c5812dc2994b81e7.zip |
Provide EVP methods for SHA512/224 and SHA512/256.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/sha/sha_internal.h')
-rw-r--r-- | src/lib/libcrypto/sha/sha_internal.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: sha_internal.h,v 1.1 2023/04/14 10:45:15 jsing Exp $ */ | 1 | /* $OpenBSD: sha_internal.h,v 1.2 2023/04/16 16:42:06 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -20,6 +20,11 @@ | |||
20 | #ifndef HEADER_SHA_INTERNAL_H | 20 | #ifndef HEADER_SHA_INTERNAL_H |
21 | #define HEADER_SHA_INTERNAL_H | 21 | #define HEADER_SHA_INTERNAL_H |
22 | 22 | ||
23 | #define NID_sha512_224WithRSAEncryption 1025 | ||
24 | #define NID_sha512_256WithRSAEncryption 1026 | ||
25 | #define NID_sha512_224 1029 | ||
26 | #define NID_sha512_256 1030 | ||
27 | |||
23 | #define SHA512_224_DIGEST_LENGTH 28 | 28 | #define SHA512_224_DIGEST_LENGTH 28 |
24 | #define SHA512_256_DIGEST_LENGTH 32 | 29 | #define SHA512_256_DIGEST_LENGTH 32 |
25 | 30 | ||