diff options
author | joshua <> | 2024-03-30 03:45:47 +0000 |
---|---|---|
committer | joshua <> | 2024-03-30 03:45:47 +0000 |
commit | 749da716a5f8e626b96252d65eb6e5a3b2773684 (patch) | |
tree | 9d13ffd3765f4a4541a21bbae4630aa740fb2003 /src/lib/libcrypto/whrlpool | |
parent | b5ce249dbbfcfe685b5a70cfe75b5e46cc457942 (diff) | |
download | openbsd-749da716a5f8e626b96252d65eb6e5a3b2773684.tar.gz openbsd-749da716a5f8e626b96252d65eb6e5a3b2773684.tar.bz2 openbsd-749da716a5f8e626b96252d65eb6e5a3b2773684.zip |
Hide symbols in whrlpool
ok tb
Diffstat (limited to 'src/lib/libcrypto/whrlpool')
-rw-r--r-- | src/lib/libcrypto/whrlpool/whirlpool.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/whrlpool/whirlpool.c b/src/lib/libcrypto/whrlpool/whirlpool.c index 217c5a919b..e1e0f7a899 100644 --- a/src/lib/libcrypto/whrlpool/whirlpool.c +++ b/src/lib/libcrypto/whrlpool/whirlpool.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: whirlpool.c,v 1.1 2024/03/29 02:41:49 jsing Exp $ */ | 1 | /* $OpenBSD: whirlpool.c,v 1.2 2024/03/30 03:45:47 joshua Exp $ */ |
2 | /** | 2 | /** |
3 | * The Whirlpool hashing function. | 3 | * The Whirlpool hashing function. |
4 | * | 4 | * |
@@ -650,6 +650,7 @@ WHIRLPOOL_Init(WHIRLPOOL_CTX *c) | |||
650 | memset (c, 0, sizeof(*c)); | 650 | memset (c, 0, sizeof(*c)); |
651 | return (1); | 651 | return (1); |
652 | } | 652 | } |
653 | LCRYPTO_ALIAS(WHIRLPOOL_Init); | ||
653 | 654 | ||
654 | int | 655 | int |
655 | WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *_inp, size_t bytes) | 656 | WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *_inp, size_t bytes) |
@@ -671,6 +672,7 @@ WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *_inp, size_t bytes) | |||
671 | 672 | ||
672 | return (1); | 673 | return (1); |
673 | } | 674 | } |
675 | LCRYPTO_ALIAS(WHIRLPOOL_Update); | ||
674 | 676 | ||
675 | void | 677 | void |
676 | WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *_inp, size_t bits) | 678 | WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *_inp, size_t bits) |
@@ -796,6 +798,7 @@ reconsider: | |||
796 | } | 798 | } |
797 | } | 799 | } |
798 | } | 800 | } |
801 | LCRYPTO_ALIAS(WHIRLPOOL_BitUpdate); | ||
799 | 802 | ||
800 | int | 803 | int |
801 | WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c) | 804 | WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c) |
@@ -837,6 +840,7 @@ WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c) | |||
837 | } | 840 | } |
838 | return (0); | 841 | return (0); |
839 | } | 842 | } |
843 | LCRYPTO_ALIAS(WHIRLPOOL_Final); | ||
840 | 844 | ||
841 | unsigned char * | 845 | unsigned char * |
842 | WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md) | 846 | WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md) |
@@ -851,3 +855,4 @@ WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md) | |||
851 | WHIRLPOOL_Final(md, &ctx); | 855 | WHIRLPOOL_Final(md, &ctx); |
852 | return (md); | 856 | return (md); |
853 | } | 857 | } |
858 | LCRYPTO_ALIAS(WHIRLPOOL); | ||