Known problems
==============


Some changes in the DES API with OpenSSL:
-----------------------------------------

There may be problems with the file DES.C and 3DES.C, due to the changes
that have occured in the DES API in OpenSSL.  I'm currently getting it to
work with OpenSSL 0.9.3.  Please report to me if you run into errors with
these files.

Currently, these are the functinos that I've used, and the way they've
varried:

SSLeay 0.8.1b, 0.9.0b, 0.9.1a, OpenSSL 0.9.1c:

typedef unsigned char des_cblock[8];
void des_ncbc_encrypt(des_cblock *input,des_cblock *output,long length,
	des_key_schedule schedule,des_cblock *ivec,int enc);
int des_set_key(des_cblock *key,des_key_schedule schedule);

OpenSSL 0.9.2:

typedef unsigned char des_cblock[8];
typedef unsigned char *des_cblocks;
void des_ncbc_encrypt(const unsigned char *input,unsigned char *output,
                      long length,des_key_schedule schedule,des_cblock ivec,
                      int enc);
int des_set_key(const des_cblock key,des_key_schedule schedule);

OpenSSL 0.9.3:

typedef unsigned char des_cblock[8];
typedef /* const */ unsigned char const_des_cblock[8];
void des_ncbc_encrypt(const unsigned char *input,unsigned char *output,
                      long length,des_key_schedule schedule,des_cblock *ivec,
                      int enc);
int des_set_key(const_des_cblock *key,des_key_schedule schedule);

-- 
1999-06-25
Richard Levitte <richard@levitte.org>
