summaryrefslogtreecommitdiff
path: root/crypto/des/des.c
diff options
context:
space:
mode:
authorrse <rse>1998-12-21 10:54:20 +0000
committerrse <rse>1998-12-21 10:54:20 +0000
commitc9d61e0435521fcdeed7301d2b847125a172ebc5 (patch)
tree495b1d88ae39c8d74000be163dd7a8708bb72f4a /crypto/des/des.c
parent0fbd6940c64d7312c07c913c5cae252d69b09401 (diff)
downloadopenssl-c9d61e0435521fcdeed7301d2b847125a172ebc5.tar.gz
Import of old SSLeay release: SSLeay 0.9.0b
Diffstat (limited to 'crypto/des/des.c')
-rw-r--r--crypto/des/des.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/des/des.c b/crypto/des/des.c
index 0376163ff..c1e500547 100644
--- a/crypto/des/des.c
+++ b/crypto/des/des.c
@@ -1,5 +1,5 @@
/* crypto/des/des.c */
-/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
@@ -99,6 +99,9 @@ void uufwriteEnd(FILE *fp);
int uufread(unsigned char *out,int size,unsigned int num,FILE *fp);
int uuencode(unsigned char *in,int num,unsigned char *out);
int uudecode(unsigned char *in,int num,unsigned char *out);
+void des_3cbc_encrypt(des_cblock *input,des_cblock *output,long length,
+ des_key_schedule sk1,des_key_schedule sk2,
+ des_cblock *ivec1,des_cblock *ivec2,int enc);
#else
void usage();
void doencryption();
@@ -107,10 +110,11 @@ void uufwriteEnd();
int uufread();
int uuencode();
int uudecode();
+void des_3cbc_encrypt();
#endif
#ifdef VMS
-#define EXIT(a) exit(a&0x10000000)
+#define EXIT(a) exit(a&0x10000000L)
#else
#define EXIT(a) exit(a)
#endif