Question about V_CHECK in ENGINE.H

2008-04-06 Thread Greaney, Kevin
Hi, I am hoping somebody can set me straight on this. I haven't been able to figure it out over the last few days. I have ported to 0.9.8E from 0.9.7E, and am having trouble getting the CRYPTO shareable image to link. Probably serves me right for waiting for so long to port. ;-)

Re: What is wrong with this code?

2008-04-06 Thread Marek . Marcola
Hello, > The encrypted.file is exactly as the original. If length of your file is multiple of 16 then you will got this behavior. AES_encrypt_cbc() function does not add additional padding block in this case. > void aes::encrypt_file(const char * key, const char * path, > unsigned char *

What is wrong with this code?

2008-04-06 Thread Julian
The encrypted.file is exactly as the original. Thanks in advance, julian void aes::encrypt_file(const char * key, const char * path, unsigned char * buf /*[in|out]*/) { // ... unsigned char fbuf_in[1024]; unsigned char fbuf_out[1024]; // Open the reading and writing paths.