diff --git a/crypto/des/des.org b/crypto/des/des.org index 295fb75ad..0e84c6eaa 100644 --- a/crypto/des/des.org +++ b/crypto/des/des.org @@ -153,7 +153,7 @@ extern int des_set_weak_key_flag; /* set the weak key flag */ #endif #ifndef NOPROTO const char *des_options(void); -void des_ecb3_encrypt(const unsigned char *input,unsigned char *output, +void des_ecb3_encrypt(const des_cblock input, des_cblock output, des_key_schedule ks1,des_key_schedule ks2, des_key_schedule ks3, int enc); DES_LONG des_cbc_cksum(const unsigned char *input,des_cblock output, diff --git a/crypto/des/ecb3_enc.c b/crypto/des/ecb3_enc.c index 16e784fe8..5ffcdd7fd 100644 --- a/crypto/des/ecb3_enc.c +++ b/crypto/des/ecb3_enc.c @@ -58,7 +58,7 @@ #include "des_locl.h" -void des_ecb3_encrypt(const unsigned char *in, unsigned char *out, +void des_ecb3_encrypt(const des_cblock in, des_cblock out, des_key_schedule ks1, des_key_schedule ks2, des_key_schedule ks3, int enc) {