From 035081b44b68f9a91261e5086291c97842f88e51 Mon Sep 17 00:00:00 2001 From: Matthias Gierlings Date: Thu, 24 Nov 2016 14:57:18 +0100 Subject: 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. --- src/lib/pubkey/xmss/xmss_wots_parameters.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lib/pubkey/xmss/xmss_wots_parameters.h') 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); -- cgit v1.2.3