diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2024-09-30 03:32:42 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2024-09-30 03:35:23 +0000 |
| commit | 5190e6341ce5121cb17df109f9dc56ab8674aa5c (patch) | |
| tree | b77260c193a89649c009bca364aff762631e0277 /sys/crypto | |
| parent | 442e0975ee4b3d6ea809359b7da670b7bd548435 (diff) | |
libmd: stop exporting _version symbols
These are reportedly likely to be specific to SSLeay's implementation
and likely not needed here. At the very least they shouldn't be used
by consumers, so let's kick them out now while we're already prepared
for a libmd soversion bump.
Requested by: delphij, fuz
Diffstat (limited to 'sys/crypto')
| -rw-r--r-- | sys/crypto/sha2/sha224.h | 4 | ||||
| -rw-r--r-- | sys/crypto/sha2/sha256.h | 4 | ||||
| -rw-r--r-- | sys/crypto/sha2/sha384.h | 4 | ||||
| -rw-r--r-- | sys/crypto/sha2/sha512.h | 4 | ||||
| -rw-r--r-- | sys/crypto/sha2/sha512t.h | 8 |
5 files changed, 0 insertions, 24 deletions
diff --git a/sys/crypto/sha2/sha224.h b/sys/crypto/sha2/sha224.h index 8286a31fdec2..b54f418ae594 100644 --- a/sys/crypto/sha2/sha224.h +++ b/sys/crypto/sha2/sha224.h @@ -73,10 +73,6 @@ __BEGIN_DECLS #define SHA224_Data _libmd_SHA224_Data #endif -#ifndef SHA224_version -#define SHA224_version _libmd_SHA224_version -#endif - void SHA224_Init(SHA224_CTX *); void SHA224_Update(SHA224_CTX *, const void *, size_t); void SHA224_Final(unsigned char [__min_size(SHA224_DIGEST_LENGTH)], diff --git a/sys/crypto/sha2/sha256.h b/sys/crypto/sha2/sha256.h index 7bee1002c25c..77237c466bd9 100644 --- a/sys/crypto/sha2/sha256.h +++ b/sys/crypto/sha2/sha256.h @@ -73,10 +73,6 @@ __BEGIN_DECLS #define SHA256_Data _libmd_SHA256_Data #endif -#ifndef SHA256_version -#define SHA256_version _libmd_SHA256_version -#endif - void SHA256_Init(SHA256_CTX *); void SHA256_Update(SHA256_CTX *, const void *, size_t); void SHA256_Final(unsigned char [__min_size(SHA256_DIGEST_LENGTH)], diff --git a/sys/crypto/sha2/sha384.h b/sys/crypto/sha2/sha384.h index 17d99f6901b7..83ffb8b1ebf1 100644 --- a/sys/crypto/sha2/sha384.h +++ b/sys/crypto/sha2/sha384.h @@ -72,10 +72,6 @@ __BEGIN_DECLS #define SHA384_Data _libmd_SHA384_Data #endif -#ifndef SHA384_version -#define SHA384_version _libmd_SHA384_version -#endif - void SHA384_Init(SHA384_CTX *); void SHA384_Update(SHA384_CTX *, const void *, size_t); void SHA384_Final(unsigned char [__min_size(SHA384_DIGEST_LENGTH)], diff --git a/sys/crypto/sha2/sha512.h b/sys/crypto/sha2/sha512.h index 4a3e2cadf022..b78fde7dc22f 100644 --- a/sys/crypto/sha2/sha512.h +++ b/sys/crypto/sha2/sha512.h @@ -72,10 +72,6 @@ __BEGIN_DECLS #define SHA512_Data _libmd_SHA512_Data #endif -#ifndef SHA512_version -#define SHA512_version _libmd_SHA512_version -#endif - void SHA512_Init(SHA512_CTX *); void SHA512_Update(SHA512_CTX *, const void *, size_t); void SHA512_Final(unsigned char [__min_size(SHA512_DIGEST_LENGTH)], diff --git a/sys/crypto/sha2/sha512t.h b/sys/crypto/sha2/sha512t.h index 2274fa2704b9..dc8025e4a74f 100644 --- a/sys/crypto/sha2/sha512t.h +++ b/sys/crypto/sha2/sha512t.h @@ -69,10 +69,6 @@ __BEGIN_DECLS #define SHA512_224_Data _libmd_SHA512_224_Data #endif -#ifndef SHA512_224_version -#define SHA512_224_version _libmd_SHA512_224_version -#endif - #ifndef SHA512_256_Init #define SHA512_256_Init _libmd_SHA512_256_Init #endif @@ -101,10 +97,6 @@ __BEGIN_DECLS #define SHA512_256_Data _libmd_SHA512_256_Data #endif -#ifndef SHA512_256_version -#define SHA512_256_version _libmd_SHA512_256_version -#endif - void SHA512_224_Init(SHA512_CTX *); void SHA512_224_Update(SHA512_CTX *, const void *, size_t); void SHA512_224_Final(unsigned char [__min_size(SHA512_224_DIGEST_LENGTH)], |
