diff options
| author | tb <> | 2023-07-28 10:35:14 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-28 10:35:14 +0000 |
| commit | e91177528644d7ab4206592aac5a07f85a3ceec2 (patch) | |
| tree | a224a2dfd6e61c26d9769cf16e0585806b712161 /src/lib/libcrypto/bf | |
| parent | b8d30e719ace66cc62ab262ddf8f89df4046d5e8 (diff) | |
| download | openbsd-e91177528644d7ab4206592aac5a07f85a3ceec2.tar.gz openbsd-e91177528644d7ab4206592aac5a07f85a3ceec2.tar.bz2 openbsd-e91177528644d7ab4206592aac5a07f85a3ceec2.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')
| -rw-r--r-- | src/lib/libcrypto/bf/bf_ecb.c | 14 |
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 | ||
| 70 | const char * | ||
| 71 | BF_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 | |||
| 82 | void | 70 | void |
| 83 | BF_ecb_encrypt(const unsigned char *in, unsigned char *out, | 71 | BF_ecb_encrypt(const unsigned char *in, unsigned char *out, |
| 84 | const BF_KEY *key, int encrypt) | 72 | const BF_KEY *key, int encrypt) |
