summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/e_idea.c
diff options
context:
space:
mode:
authorjsing <>2022-09-03 20:12:24 +0000
committerjsing <>2022-09-03 20:12:24 +0000
commitbd0c1e8c9f376fe4beec69a2931ce916e2f1e76a (patch)
treeb1cd86c4edb44cbdeaac4a4fffc22955c6f57863 /src/lib/libcrypto/evp/e_idea.c
parente6ddefe813ee122cf52b085578a0a3649bd9f2cd (diff)
downloadopenbsd-bd0c1e8c9f376fe4beec69a2931ce916e2f1e76a.tar.gz
openbsd-bd0c1e8c9f376fe4beec69a2931ce916e2f1e76a.tar.bz2
openbsd-bd0c1e8c9f376fe4beec69a2931ce916e2f1e76a.zip
Remove now unused IMPLEMENT_BLOCK_CIPHER macro.
Also remove various comments noting that it cannot be used for certain block ciphers (which kinda defeats the purpose of having a generic implementation in the first place).
Diffstat (limited to 'src/lib/libcrypto/evp/e_idea.c')
-rw-r--r--src/lib/libcrypto/evp/e_idea.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/e_idea.c b/src/lib/libcrypto/evp/e_idea.c
index 454ad4e672..b2240b3043 100644
--- a/src/lib/libcrypto/evp/e_idea.c
+++ b/src/lib/libcrypto/evp/e_idea.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: e_idea.c,v 1.10 2015/09/10 15:56:25 jsing Exp $ */ 1/* $OpenBSD: e_idea.c,v 1.11 2022/09/03 20:12:24 jsing 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 *
@@ -85,8 +85,6 @@ idea_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
85 return 1; 85 return 1;
86} 86}
87 87
88/* Can't use IMPLEMENT_BLOCK_CIPHER because idea_ecb_encrypt is different */
89
90typedef struct { 88typedef struct {
91 IDEA_KEY_SCHEDULE ks; 89 IDEA_KEY_SCHEDULE ks;
92} EVP_IDEA_KEY; 90} EVP_IDEA_KEY;