[openssl-users] EVP_Encrypt/EVP_Decrypt input/output buffers requirements

Patrice Guérin guerinp at talasi.fr
Wed Jan 30 23:29:29 UTC 2019


Hello Matt,

Thank you very much.

Patrice.

Matt Caswell a écrit :
>
> 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