summaryrefslogtreecommitdiff
path: root/xmss_fast.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-27 14:45:17 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-02-28 16:52:12 +1100
commita10d8552d0d2438da4ed539275abcbf557d1e7a8 (patch)
tree558851a676d0fe83749966034794b7f1269dbf0e /xmss_fast.h
parent146c3bd28c8dbee9c4b06465d9c9facab96b1e9b (diff)
downloadopenssh-git-a10d8552d0d2438da4ed539275abcbf557d1e7a8.tar.gz
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_fast.h')
-rw-r--r--xmss_fast.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmss_fast.h b/xmss_fast.h
index 657cd27f..52a83f86 100644
--- a/xmss_fast.h
+++ b/xmss_fast.h
@@ -1,3 +1,4 @@
+#ifdef WITH_XMSS
/*
xmss_fast.h version 20160722
Andreas Hülsing
@@ -106,4 +107,4 @@ int xmssmt_sign(unsigned char *sk, bds_state *state, unsigned char *wots_sigs, u
*/
int xmssmt_sign_open(unsigned char *msg, unsigned long long *msglen, const unsigned char *sig_msg, unsigned long long sig_msg_len, const unsigned char *pk, const xmssmt_params *params);
#endif
-
+#endif /* WITH_XMSS */