diff options
Diffstat (limited to 'crypto/des/ecb3_enc.c')
-rw-r--r-- | crypto/des/ecb3_enc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/des/ecb3_enc.c b/crypto/des/ecb3_enc.c index f5c0367274..c3437bc606 100644 --- a/crypto/des/ecb3_enc.c +++ b/crypto/des/ecb3_enc.c @@ -58,9 +58,9 @@ #include "des_locl.h" -void des_ecb3_encrypt(const_des_cblock *input, des_cblock *output, - des_key_schedule *ks1, des_key_schedule *ks2, - des_key_schedule *ks3, +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) { register DES_LONG l0,l1; @@ -73,9 +73,9 @@ void des_ecb3_encrypt(const_des_cblock *input, des_cblock *output, ll[0]=l0; ll[1]=l1; if (enc) - des_encrypt3(ll,ks1,ks2,ks3); + DES_encrypt3(ll,ks1,ks2,ks3); else - des_decrypt3(ll,ks1,ks2,ks3); + DES_decrypt3(ll,ks1,ks2,ks3); l0=ll[0]; l1=ll[1]; l2c(l0,out); |