mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-16 15:02:50 +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
|
@ -18,6 +18,9 @@ for each discovered service. By default root is current
|
||||||
directory, but that can be overridden with -d switch.
|
directory, but that can be overridden with -d switch.
|
||||||
Use -h switch to obtain all avaiable options.
|
Use -h switch to obtain all avaiable options.
|
||||||
|
|
||||||
|
CONTACT:
|
||||||
|
For bug reports/questions/whatever else, email cathugger at cock dot li.
|
||||||
|
|
||||||
ACKNOWLEDGEMENTS & LEGAL:
|
ACKNOWLEDGEMENTS & LEGAL:
|
||||||
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
|
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
|
||||||
You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
|
You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
|
||||||
|
|
2
main.c
2
main.c
|
@ -386,7 +386,7 @@ static void addu64toscalar32(u8 *dst,u64 v)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
u32 c = 0;
|
u32 c = 0;
|
||||||
for (i = 0;i < 8;++i) {
|
for (i = 0;i < 32;++i) {
|
||||||
c += *dst + (v & 0xFF); *dst = c & 0xFF; c >>= 8;
|
c += *dst + (v & 0xFF); *dst = c & 0xFF; c >>= 8;
|
||||||
v >>= 8;
|
v >>= 8;
|
||||||
++dst;
|
++dst;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue