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.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/e_des.c b/src/lib/libcrypto/evp/e_des.c
index 1f0de7cbfd..0a32d2adb9 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.10 2014/07/10 22:45:57 jsing Exp $ */ 1/* $OpenBSD: e_des.c,v 1.11 2014/07/11 08:44:48 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 *
@@ -60,14 +60,15 @@
60 60
61#include <openssl/opensslconf.h> 61#include <openssl/opensslconf.h>
62 62
63#include "cryptlib.h"
64#ifndef OPENSSL_NO_DES 63#ifndef OPENSSL_NO_DES
64
65#include <openssl/evp.h> 65#include <openssl/evp.h>
66#include <openssl/objects.h>
67#include "evp_locl.h"
68#include <openssl/des.h> 66#include <openssl/des.h>
67#include <openssl/objects.h>
69#include <openssl/rand.h> 68#include <openssl/rand.h>
70 69
70#include "evp_locl.h"
71
71static int des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 72static int des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
72 const unsigned char *iv, int enc); 73 const unsigned char *iv, int enc);
73static int des_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr); 74static int des_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr);