diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-08-31 10:38:50 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-08-31 10:38:50 +0000 |
commit | 9faf9a8d47e6dcab8151359c2e42fbaf096227aa (patch) | |
tree | dbef22ca127879964f016f40f0a19d0f280131a2 /lib/libcrypto/hidden | |
parent | 07444171532efc0c355c594bdc75bf1f605a7f5f (diff) |
Nuke the whrlpool (named after the galaxy) from orbit
It's just gross. Only used by a popular disk encryption utility on an
all-too-popular OS one or two decades back.
ok beck jsing
Diffstat (limited to 'lib/libcrypto/hidden')
-rw-r--r-- | lib/libcrypto/hidden/openssl/evp.h | 3 | ||||
-rw-r--r-- | lib/libcrypto/hidden/openssl/whrlpool.h | 34 |
2 files changed, 1 insertions, 36 deletions
diff --git a/lib/libcrypto/hidden/openssl/evp.h b/lib/libcrypto/hidden/openssl/evp.h index fea609933e8..644ba683a5c 100644 --- a/lib/libcrypto/hidden/openssl/evp.h +++ b/lib/libcrypto/hidden/openssl/evp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: evp.h,v 1.5 2024/08/31 09:14:21 tb Exp $ */ +/* $OpenBSD: evp.h,v 1.6 2024/08/31 10:38:49 tb Exp $ */ /* * Copyright (c) 2024 Bob Beck <beck@openbsd.org> * @@ -160,7 +160,6 @@ LCRYPTO_USED(EVP_sha3_384); LCRYPTO_USED(EVP_sha3_512); LCRYPTO_USED(EVP_sm3); LCRYPTO_USED(EVP_ripemd160); -LCRYPTO_USED(EVP_whirlpool); LCRYPTO_USED(EVP_enc_null); LCRYPTO_USED(EVP_des_ecb); LCRYPTO_USED(EVP_des_ede); diff --git a/lib/libcrypto/hidden/openssl/whrlpool.h b/lib/libcrypto/hidden/openssl/whrlpool.h deleted file mode 100644 index c3e4a51d380..00000000000 --- a/lib/libcrypto/hidden/openssl/whrlpool.h +++ /dev/null @@ -1,34 +0,0 @@ -/* $OpenBSD: whrlpool.h,v 1.1 2024/03/30 03:45:47 joshua Exp $ */ -/* - * Copyright (c) 2024 Joshua Sing <joshua@joshuasing.dev> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -#ifndef _LIBCRYPTO_WHRLPOOL_H -#define _LIBCRYPTO_WHRLPOOL_H - -#ifndef _MSC_VER -#include_next <openssl/whrlpool.h> -#else -#include "../include/openssl/whrlpool.h" -#endif -#include "crypto_namespace.h" - -LCRYPTO_USED(WHIRLPOOL_Init); -LCRYPTO_USED(WHIRLPOOL_Update); -LCRYPTO_USED(WHIRLPOOL_BitUpdate); -LCRYPTO_USED(WHIRLPOOL_Final); -LCRYPTO_USED(WHIRLPOOL); - -#endif /* _LIBCRYPTO_WHRLPOOL_H */ |