[openssl.org #2954] [PATCH] avoid memcpy for overlapping regions

2013-01-10 Thread Nickolai Zeldovich via RT
Using memcpy on overlapping regions of memory is undefined behavior in C. In engines/ccgost/gosthash.c, the circle_xor8() function uses memcpy to copy data between the two arrays passed as arguments, but in some cases (e.g., the third call to circle_xor8 in hash_step() in the same file) the two

[openssl.org #1518] [PATCH] Securing private RSA keys

2007-04-10 Thread Nickolai Zeldovich via RT
Apologies for the duplicate mail; I sent the below message to openssl-dev@openssl.org earlier, without realizing that [EMAIL PROTECTED] exists for the purpose of tracking patches. Any feedback on this proposal would be welcome. Thanks, Nickolai. -- Forwarded message -- From: Nic