summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/idea
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/idea
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/idea')
-rw-r--r--src/lib/libcrypto/idea/i_ecb.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/libcrypto/idea/i_ecb.c b/src/lib/libcrypto/idea/i_ecb.c
index 19521a7536..9f7db232b1 100644
--- a/src/lib/libcrypto/idea/i_ecb.c
+++ b/src/lib/libcrypto/idea/i_ecb.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: i_ecb.c,v 1.6 2023/07/08 10:44:00 beck Exp $ */ 1/* $OpenBSD: i_ecb.c,v 1.7 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 *
@@ -60,16 +60,6 @@
60#include "idea_local.h" 60#include "idea_local.h"
61#include <openssl/opensslv.h> 61#include <openssl/opensslv.h>
62 62
63const char *
64idea_options(void)
65{
66 if (sizeof(short) != sizeof(IDEA_INT))
67 return ("idea(int)");
68 else
69 return ("idea(short)");
70}
71LCRYPTO_ALIAS(idea_options);
72
73void 63void
74idea_ecb_encrypt(const unsigned char *in, unsigned char *out, 64idea_ecb_encrypt(const unsigned char *in, unsigned char *out,
75 IDEA_KEY_SCHEDULE *ks) 65 IDEA_KEY_SCHEDULE *ks)