summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bf/bf_ecb.c
diff options
context:
space:
mode:
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)