[openssl-project] to fully overlap or not to

Viktor Dukhovni openssl-users at dukhovni.org
Wed Feb 28 16:25:12 UTC 2018



> On Feb 28, 2018, at 5:39 AM, Andy Polyakov <appro at openssl.org> wrote:
> 
> I'd like to request more opinions on
> https://github.com/openssl/openssl/pull/5427. Key dispute question is
> whether or not following fragment should work
> 
>    unsigned char *inp = buf, *out = buf;
> 
>    for (i = 0; i < sizeof(buf); i++) {
>        EVP_EncryptUpdate(ctx, out, &outl, inp++, 1);
> 	out += outl;
>    }

This should work.

-- 
	Viktor.



More information about the openssl-project mailing list