hi,

I'm trying to use the crypto library to decrypt a file which has been encrypted using 
triple-DES.

I have the following declarations:
char *temp;
char **elines;
des_cblock *input;

I have a function which parses the file and grabs the encrypted strings
        temp = parse_file(&mapped_file);
I then set elines[i] = temp;
However I can't pass elines[i] to des_ecb3_encrypt() as it is not declared as 
des_cblock.
Is there any way of casting it, passing it, some way of passing the data returned by 
the parse_file() function to des_ecb3_encrypt()?

Also, am I right in thinking that des_cblock being defined the way it is , that you 
can only decrypt in batches of 8 characters??

Thanks!
Stella

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to