mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-15 22:42:49 +00:00
small secret key carry propagation fix, include email addr
This commit is contained in:
parent
9431a80ebb
commit
9706645191
2 changed files with 4 additions and 1 deletions
2
main.c
2
main.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue