No use in naming the cblock _; the structure still is incompatible
[openssl.git] / crypto / des / ecb3_enc.c
index 16e784fe80dca245d622569a10048885d44e8eca..fb28b97e1ab65843bc88f3c6a4fe5b2f52799599 100644 (file)
 
 #include "des_locl.h"
 
-void des_ecb3_encrypt(const unsigned char *in, unsigned char *out,
+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;
        DES_LONG ll[2];
+       const unsigned char *in = &(*input)[0];
+       unsigned char *out = &(*output)[0];
 
        c2l(in,l0);
        c2l(in,l1);