diff options
| author | jsing <> | 2022-09-03 20:12:24 +0000 |
|---|---|---|
| committer | jsing <> | 2022-09-03 20:12:24 +0000 |
| commit | 96089c3eaf4734376c8924716cc2fa9e2b96f770 (patch) | |
| tree | b1cd86c4edb44cbdeaac4a4fffc22955c6f57863 /src/lib/libcrypto/evp/e_idea.c | |
| parent | aeaaf6037d7690df1e54b2dcf5609981bb1d0ea8 (diff) | |
| download | openbsd-96089c3eaf4734376c8924716cc2fa9e2b96f770.tar.gz openbsd-96089c3eaf4734376c8924716cc2fa9e2b96f770.tar.bz2 openbsd-96089c3eaf4734376c8924716cc2fa9e2b96f770.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.c | 4 |
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 | |||
| 90 | typedef struct { | 88 | typedef struct { |
| 91 | IDEA_KEY_SCHEDULE ks; | 89 | IDEA_KEY_SCHEDULE ks; |
| 92 | } EVP_IDEA_KEY; | 90 | } EVP_IDEA_KEY; |
