summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bf/bf_ecb.c
diff options
context:
space:
mode:
authortb <>2023-07-28 10:35:14 +0000
committertb <>2023-07-28 10:35:14 +0000
commitf081b066a62db7e3bea15c67edb84e04026495b2 (patch)
treea224a2dfd6e61c26d9769cf16e0585806b712161 /src/lib/libcrypto/bf/bf_ecb.c
parentd13035e40f9f0aeb77be3097963f11fabf83e401 (diff)
downloadopenbsd-f081b066a62db7e3bea15c67edb84e04026495b2.tar.gz
openbsd-f081b066a62db7e3bea15c67edb84e04026495b2.tar.bz2
openbsd-f081b066a62db7e3bea15c67edb84e04026495b2.zip
Remove various ${thing}_options
Various, ancient ciphers exposed some of their innards via an _options() API. Apart from openssl version/speed, only some lua thingie in nmap ever looked at these. Go figure. hppa testing by miod, i386 testing by sthen. Thanks! ok jsing
Diffstat (limited to 'src/lib/libcrypto/bf/bf_ecb.c')
-rw-r--r--src/lib/libcrypto/bf/bf_ecb.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/lib/libcrypto/bf/bf_ecb.c b/src/lib/libcrypto/bf/bf_ecb.c
index 99e50b0ffe..eda6f193b3 100644
--- a/src/lib/libcrypto/bf/bf_ecb.c
+++ b/src/lib/libcrypto/bf/bf_ecb.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bf_ecb.c,v 1.9 2022/11/26 16:08:51 tb Exp $ */ 1/* $OpenBSD: bf_ecb.c,v 1.10 2023/07/28 10:35:14 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -67,18 +67,6 @@
67 * CAMBRIDGE SECURITY WORKSHOP, CAMBRIDGE, U.K., DECEMBER 9-11, 1993) 67 * CAMBRIDGE SECURITY WORKSHOP, CAMBRIDGE, U.K., DECEMBER 9-11, 1993)
68 */ 68 */
69 69
70const char *
71BF_options(void)
72{
73#ifdef BF_PTR
74 return("blowfish(ptr)");
75#elif defined(BF_PTR2)
76 return("blowfish(ptr2)");
77#else
78 return("blowfish(idx)");
79#endif
80}
81
82void 70void
83BF_ecb_encrypt(const unsigned char *in, unsigned char *out, 71BF_ecb_encrypt(const unsigned char *in, unsigned char *out,
84 const BF_KEY *key, int encrypt) 72 const BF_KEY *key, int encrypt)