path: root/xmss_wots.h
diff options
authorDarren Tucker <>2018-02-27 14:45:17 +1100
committerDarren Tucker <>2018-02-28 16:52:12 +1100
commita10d8552d0d2438da4ed539275abcbf557d1e7a8 (patch)
tree558851a676d0fe83749966034794b7f1269dbf0e /xmss_wots.h
parent146c3bd28c8dbee9c4b06465d9c9facab96b1e9b (diff)
Conditionally compile XMSS code.
The XMSS code is currently experimental and, unlike the rest of OpenSSH cannot currently be compiled with a c89 compiler.
Diffstat (limited to 'xmss_wots.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/xmss_wots.h b/xmss_wots.h
index 8bcb44e0..6b3177c2 100644
--- a/xmss_wots.h
+++ b/xmss_wots.h
@@ -1,3 +1,4 @@
+#ifdef WITH_XMSS
wots.h version 20160722
Andreas Hülsing
@@ -59,3 +60,4 @@ int wots_sign(unsigned char *sig, const unsigned char *msg, const unsigned char
int wots_pkFromSig(unsigned char *pk, const unsigned char *sig, const unsigned char *msg, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8]);
+#endif /* WITH_XMSS */