Re: EVP_EncryptFinal_ex

2013-04-13 Thread Krzysztof Konopko
..many) >> - finalize (once) >> >> In your case (as in any other), yes, you need to call >> EVP_EncryptFinal_ex(). >> >> Cheers, >> Kris >> >> >> 2013/4/8 Taraniteja Vishwanatha >> >>> Hey all, >>> >>> &g

Re: EVP_EncryptFinal_ex

2013-04-08 Thread Taraniteja Vishwanatha
gt; In your case (as in any other), yes, you need to call > EVP_EncryptFinal_ex(). > > Cheers, > Kris > > > 2013/4/8 Taraniteja Vishwanatha > >> Hey all, >> >> >> I am using EVP APIs to do AES 256 encryption. I have a question regarding >> EVP_

Re: EVP_EncryptFinal_ex

2013-04-08 Thread Krzysztof Konopko
signature of the final digest). So you always do the following: - initialize (once) - update (1..many) - finalize (once) In your case (as in any other), yes, you need to call EVP_EncryptFinal_ex(). Cheers, Kris 2013/4/8 Taraniteja Vishwanatha > Hey all, > > > I am using

EVP_EncryptFinal_ex

2013-04-08 Thread Taraniteja Vishwanatha
Hey all, I am using EVP APIs to do AES 256 encryption. I have a question regarding EVP_EncryptFinal_ex. The documentation says this API is used to encrypt the last few bytes if any remaining. Is this API required? I am allocating the cipher text size before passing into EVP_EncryptUpdate in the