We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e49423 commit 2e9712cCopy full SHA for 2e9712c
slh_prehash.c
@@ -47,7 +47,7 @@ static size_t hash_slh_dsa_pad(uint8_t *mp, const uint8_t *m, size_t m_sz,
47
const uint8_t shake_256_oid[11] = {0x06, 0x09, 0x60, 0x86, 0x48, 0x01,
48
0x65, 0x03, 0x04, 0x02, 0x0C};
49
50
- if (ctx_sz > 256)
+ if (ctx_sz > 255)
51
{
52
return 0;
53
}
0 commit comments