summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/e_des.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/e_des.c')
-rw-r--r--src/lib/libcrypto/evp/e_des.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/e_des.c b/src/lib/libcrypto/evp/e_des.c
index ad91720ff1..118e59695f 100644
--- a/src/lib/libcrypto/evp/e_des.c
+++ b/src/lib/libcrypto/evp/e_des.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: e_des.c,v 1.14 2015/10/12 06:05:52 guenther Exp $ */ 1/* $OpenBSD: e_des.c,v 1.15 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 *
@@ -72,8 +72,6 @@ static int des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
72 const unsigned char *iv, int enc); 72 const unsigned char *iv, int enc);
73static int des_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr); 73static int des_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr);
74 74
75/* Because of various casts and different names can't use IMPLEMENT_BLOCK_CIPHER */
76
77static int 75static int
78des_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 76des_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
79 const unsigned char *in, size_t inl) 77 const unsigned char *in, size_t inl)