Re: [openssl-users] In-place encryption/decryption via the EVP_* APIs

2018-11-07 Thread Terry Chong
Yes it does, thank you Richard! Regards, Terry > On Nov 6, 2018, at 11:12 PM, Richard Levitte wrote: > > In message > on Tue, > 6 Nov 2018 14:46:52 -0800, Terry Chong said: > >> Hi, I am planning on using EVP_* APIs to encrypt/decrypt my data. One thing >> I am wondering >> about is wheth

Re: [openssl-users] In-place encryption/decryption via the EVP_* APIs

2018-11-06 Thread Richard Levitte
In message on Tue, 6 Nov 2018 14:46:52 -0800, Terry Chong said: > Hi, I am planning on using EVP_* APIs to encrypt/decrypt my data. One thing I > am wondering > about is whether I can do in-place encryption, meaning I don't have to pay > the price of an extra > memory buffer to store my ciphe

[openssl-users] In-place encryption/decryption via the EVP_* APIs

2018-11-06 Thread Terry Chong
Hi, I am planning on using EVP_* APIs to encrypt/decrypt my data. One thing I am wondering about is whether I can do in-place encryption, meaning I don't have to pay the price of an extra memory buffer to store my cipher text and a potential memcpy back to the source buffer. I tried that with the