Hello all,
Could someone please clarify this for me and correct me if I am wrong

I am using AES_encrypt and AES_decrypt which apparently only work on
chunks of 16 bytes of data, my goal is to create my own functions to
encrypt strings, so I am chunking the strings into 16 bytes and feeding
them one at a time into AES_encrypt then taking the output and using
strncat to put it into a buffer. Once done looping though all of the
chunks I then return the buffer.


Now I pass it on to my decrypt function using AES_decrypt and feed it 16
bytes at a time from the input buffer, but I get garbage out.

Am I missing something?, or perhaps I am doing this the wrong way? 

I would submit code but I have it all hacked up right now trying to
figure this out

Thanks in advance,

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

Reply via email to