RE: Is it not possible to decrypt partial AES messages?

2010-05-07 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Steffen DETTMER > Sent: Wednesday, 05 May, 2010 14:04 > * Christina Penn wrote on Wed, May 05, 2010 at 07:42 -0400: > >Can you show me exactly how to break up my example code > to make my > >example work? I tried removing the EVP_Decryp

RE: Is it not possible to decrypt partial AES messages?

2010-05-05 Thread David Schwartz
Christina Penn wrote: > Hello David,   > Can you show me exactly how to break up my example code to make my example work? It's really simple. When you want to decrypt a message, call EVP_DecryptInit_ex. For each chunk of data you want to decrypt that is part of the message, call EVP_DecryptUpda

Re: Is it not possible to decrypt partial AES messages?

2010-05-05 Thread Steffen DETTMER
* Christina Penn wrote on Wed, May 05, 2010 at 07:42 -0400: >Can you show me exactly how to break up my example code to make my >example work? I tried removing the EVP_DecryptFinal_ex from my >DecryptMessage function and just seeing if the first part would just >decrypt the first 7

Re: Is it not possible to decrypt partial AES messages?

2010-05-05 Thread Dr. Stephen Henson
On Wed, May 05, 2010, Christina Penn wrote: > Hello David, > > Can you show me exactly how to break up my example code to make my example > work? I tried removing the EVP_DecryptFinal_ex from my DecryptMessage > function and just seeing if the first part would just decrypt the first 7 > bytes, bu

Re: Is it not possible to decrypt partial AES messages?

2010-05-05 Thread Christina Penn
Hello David, Can you show me exactly how to break up my example code to make my example work? I tried removing the EVP_DecryptFinal_ex from my DecryptMessage function and just seeing if the first part would just decrypt the first 7 bytes, but it got thrown into my catch statement. I am really conf

is it not possible to decrypt partial AES messages?

2010-05-05 Thread Christina Penn
Hello, Here is some example code of me trying to decrypt a partial AES message. It doesn't work.. is there a way I can do something like this? It only works if I call DecryptMessage() with the entire encrypted string. Why? Thanks!! #include #include #include using namespace std; #pragma

RE: Is it not possible to decrypt partial AES messages?

2010-05-04 Thread David Schwartz
Christina Penn wrote: > Here is some example code of me trying to decrypt a partial AES message. > It doesn't work.. is there a way I can do something like this? It only works > if I call DecryptMessage() with the entire encrypted string. Why? Your DecryptMessage function is specifically designe

Is it not possible to decrypt partial AES messages?

2010-05-04 Thread Christina Penn
Hello, Here is some example code of me trying to decrypt a partial AES message. It doesn't work.. is there a way I can do something like this? It only works if I call DecryptMessage() with the entire encrypted string. Why? Thanks!! #include #include #include using namespace std; #pragma