small secret key carry propagation fix, include email addr

This commit is contained in:
cathugger 2017-09-30 20:34:09 +00:00
parent 9431a80ebb
commit 9706645191
2 changed files with 4 additions and 1 deletions

2
main.c
View file

@ -386,7 +386,7 @@ static void addu64toscalar32(u8 *dst,u64 v)
{
int i;
u32 c = 0;
for (i = 0;i < 8;++i) {
for (i = 0;i < 32;++i) {
c += *dst + (v & 0xFF); *dst = c & 0xFF; c >>= 8;
v >>= 8;
++dst;