diff options
author | Matthias Gierlings <[email protected]> | 2018-04-12 00:00:43 +0200 |
---|---|---|
committer | Matthias Gierlings <[email protected]> | 2018-04-12 21:42:45 +0200 |
commit | 03f46b98d57befa06a1c71190ec0b98ef21919ac (patch) | |
tree | 3f8eefdac505c1f19b0f111087c2fe0cf994add1 /src/lib/pubkey/xmss/xmss_tools.cpp | |
parent | 87c697920206ac7ab0f757d3ec0c5550defd2517 (diff) |
Adds missing XMSS signature length check.
- Fixes out of bounds read in `XMSS_Signature` constructor when the raw
signature data supplied as arguments is shorter than the signature size
defined by the XMSS parameter set encoded in the `XMSS_PublicKey`.
- Fixes valid signatures with arbitrary appended data to be verified as
correct signature.
Diffstat (limited to 'src/lib/pubkey/xmss/xmss_tools.cpp')
0 files changed, 0 insertions, 0 deletions