[openssl-users] EVP_Encrypt/EVP_Decrypt input/output buffers requirements
Matt Caswell
matt at openssl.org
Wed Jan 30 10:13:17 UTC 2019
On 30/01/2019 09:45, Patrice Guérin wrote:
> Hello to all,
>
> Documentation does not provide input/output buffers requirements for
> encryption/decryption, so
> is it safe to submit the same buffer (ie, input=output) for these operations ?
> If not, what is the minimum distance 'd' required (input = output+d) ?
> This is to be used in small memory environment.
EVP_Encrypt*/EVP_Decrypt* support in-place encryption/decryption, i.e. where in
== out. They don't support "partially" overlapping buffers, i.e. where "in !=
out" but some portions of the buffer still overlap.
Matt
More information about the openssl-users
mailing list