This website works better with JavaScript.
Home
Explore
Help
Sign In
kris
/
xmss-KAT-generator
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix prf when n != 32
It wrongfully assumed that 2n + 32 = 3n
master
Joost Rijneveld
7 years ago
parent
daa4e2d6db
commit
51790b9d57
No known key found for this signature in database
GPG Key ID:
A4FE39CF49CBC553
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
hash.c
+ 1
- 1
hash.c
View File
@@ -56,7 +56,7 @@ int prf(const xmss_params *params,
memcpy(buf + params->n, key, params->n);
memcpy(buf + 2*params->n, in, 32);
return core_hash(params, out, buf,
3 * params->n
);
return core_hash(params, out, buf,
2*params->n + 32
);
}
/*
Write
Preview
Loading…
Cancel
Save