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 -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users