diff options
author | Matthias Gierlings <[email protected]> | 2016-11-24 14:57:18 +0100 |
---|---|---|
committer | Matthias Gierlings <[email protected]> | 2016-11-25 13:35:08 +0100 |
commit | 035081b44b68f9a91261e5086291c97842f88e51 (patch) | |
tree | 8d3cab3cb1913e0865241f03f830cbcd78b49c6c /src/lib/pubkey/xmss/xmss_wots_parameters.h | |
parent | 54da2ad8474401d8d3bdd97d62cb96b3244cdaac (diff) |
Adds SHAKE support for XMSS
- Enables code for shake support
- Creating SHAKE hash function by name now allows to select output size
of 256 Bit for SHAKE128 and 512 Bit for SHAKE256.
- Adds *self-generated*, unverified test vectors for XMSS/SHAKE.
Diffstat (limited to 'src/lib/pubkey/xmss/xmss_wots_parameters.h')
-rw-r--r-- | src/lib/pubkey/xmss/xmss_wots_parameters.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/pubkey/xmss/xmss_wots_parameters.h b/src/lib/pubkey/xmss/xmss_wots_parameters.h index a4840c354..1385f001b 100644 --- a/src/lib/pubkey/xmss/xmss_wots_parameters.h +++ b/src/lib/pubkey/xmss/xmss_wots_parameters.h @@ -38,9 +38,8 @@ class XMSS_WOTS_Parameters { WOTSP_SHA2_256_W16 = 0x01000001, WOTSP_SHA2_512_W16 = 0x02000002, -// FIXME: Uncomment once SHAKE128/256 implementation is available in Botan. -// WOTSP_SHAKE128_W16 = 0x03000003, -// WOTSP_SHAKE256_W16 = 0x04000004 + WOTSP_SHAKE128_W16 = 0x03000003, + WOTSP_SHAKE256_W16 = 0x04000004 }; XMSS_WOTS_Parameters(const std::string& algo_name); |