From 1b11ea7c58cd5c59838b5fa574cd456d6047b2d4 Mon Sep 17 00:00:00 2001 From: "markus@openbsd.org" Date: Fri, 23 Feb 2018 15:58:37 +0000 Subject: upstream: Add experimental support for PQC XMSS keys (Extended Hash-Based Signatures) The code is not compiled in by default (see WITH_XMSS in Makefile.inc) Joint work with stefan-lukas_gazdag at genua.eu See https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-signatures-12 ok djm@ OpenBSD-Commit-ID: ef3eccb96762a5d6f135d7daeef608df7776a7ac --- xmss_hash_address.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 xmss_hash_address.c (limited to 'xmss_hash_address.c') diff --git a/xmss_hash_address.c b/xmss_hash_address.c new file mode 100644 index 000000000..223c6f8ab --- /dev/null +++ b/xmss_hash_address.c @@ -0,0 +1,59 @@ +/* +hash_address.c version 20160722 +Andreas Hülsing +Joost Rijneveld +Public domain. +*/ +#include +#include "xmss_hash_address.h" /* prototypes */ + +void setLayerADRS(uint32_t adrs[8], uint32_t layer){ + adrs[0] = layer; +} + +void setTreeADRS(uint32_t adrs[8], uint64_t tree){ + adrs[1] = (uint32_t) (tree >> 32); + adrs[2] = (uint32_t) tree; +} + +void setType(uint32_t adrs[8], uint32_t type){ + adrs[3] = type; + int i; + for(i = 4; i < 8; i++){ + adrs[i] = 0; + } +} + +void setKeyAndMask(uint32_t adrs[8], uint32_t keyAndMask){ + adrs[7] = keyAndMask; +} + +// OTS + +void setOTSADRS(uint32_t adrs[8], uint32_t ots){ + adrs[4] = ots; +} + +void setChainADRS(uint32_t adrs[8], uint32_t chain){ + adrs[5] = chain; +} + +void setHashADRS(uint32_t adrs[8], uint32_t hash){ + adrs[6] = hash; +} + +// L-tree + +void setLtreeADRS(uint32_t adrs[8], uint32_t ltree){ + adrs[4] = ltree; +} + +// Hash Tree & L-tree + +void setTreeHeight(uint32_t adrs[8], uint32_t treeHeight){ + adrs[5] = treeHeight; +} + +void setTreeIndex(uint32_t adrs[8], uint32_t treeIndex){ + adrs[6] = treeIndex; +} -- cgit v1.2.3 From f885474137df4b89498c0b8834c2ac72c47aa4bd Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 26 Feb 2018 12:18:14 +1100 Subject: XMSS-related files get includes.h --- configure.ac | 1 + ssh-xmss.c | 2 ++ sshkey-xmss.c | 5 +++++ xmss_commons.c | 4 +++- xmss_fast.c | 2 ++ xmss_hash.c | 2 ++ xmss_hash_address.c | 2 ++ xmss_wots.c | 2 ++ 8 files changed, 19 insertions(+), 1 deletion(-) (limited to 'xmss_hash_address.c') diff --git a/configure.ac b/configure.ac index d3deac832..a70d40628 100644 --- a/configure.ac +++ b/configure.ac @@ -393,6 +393,7 @@ AC_CHECK_HEADERS([ \ sys/bsdtty.h \ sys/cdefs.h \ sys/dir.h \ + sys/file.h \ sys/mman.h \ sys/label.h \ sys/ndir.h \ diff --git a/ssh-xmss.c b/ssh-xmss.c index d9dafd762..e25dbbf65 100644 --- a/ssh-xmss.c +++ b/ssh-xmss.c @@ -15,6 +15,8 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "includes.h" + #define SSHKEY_INTERNAL #include #include diff --git a/sshkey-xmss.c b/sshkey-xmss.c index 41cc1bade..f146098b3 100644 --- a/sshkey-xmss.c +++ b/sshkey-xmss.c @@ -23,6 +23,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "includes.h" + #include #include @@ -31,6 +33,9 @@ #include #include #include +#ifdef HAVE_SYS_FILE_H +# include +#endif #include "ssh2.h" #include "ssherr.h" diff --git a/xmss_commons.c b/xmss_commons.c index 51171af91..0752f29b2 100644 --- a/xmss_commons.c +++ b/xmss_commons.c @@ -5,6 +5,8 @@ Joost Rijneveld Public domain. */ +#include "includes.h" + #include "xmss_commons.h" #include #include @@ -24,4 +26,4 @@ void hexdump(const unsigned char *a, size_t len) size_t i; for (i = 0; i < len; i++) printf("%02x", a[i]); -} \ No newline at end of file +} diff --git a/xmss_fast.c b/xmss_fast.c index 7ddc92f83..6aff36a07 100644 --- a/xmss_fast.c +++ b/xmss_fast.c @@ -5,6 +5,8 @@ Joost Rijneveld Public domain. */ +#include "includes.h" + #include "xmss_fast.h" #include #include diff --git a/xmss_hash.c b/xmss_hash.c index 963b584b9..9c42c4f40 100644 --- a/xmss_hash.c +++ b/xmss_hash.c @@ -5,6 +5,8 @@ Joost Rijneveld Public domain. */ +#include "includes.h" + #include "xmss_hash_address.h" #include "xmss_commons.h" #include "xmss_hash.h" diff --git a/xmss_hash_address.c b/xmss_hash_address.c index 223c6f8ab..385868de7 100644 --- a/xmss_hash_address.c +++ b/xmss_hash_address.c @@ -4,6 +4,8 @@ Andreas Hülsing Joost Rijneveld Public domain. */ +#include "includes.h" + #include #include "xmss_hash_address.h" /* prototypes */ diff --git a/xmss_wots.c b/xmss_wots.c index fcd033405..4120acf17 100644 --- a/xmss_wots.c +++ b/xmss_wots.c @@ -5,6 +5,8 @@ Joost Rijneveld Public domain. */ +#include "includes.h" + #include #include #include -- cgit v1.2.3 From c7ef4a399155e1621a532cc5e08e6fa773658dd4 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 26 Feb 2018 17:42:56 +1100 Subject: Wrap in #ifdef HAVE_STDINT_H. --- xmss_commons.c | 2 ++ xmss_commons.h | 2 ++ xmss_fast.c | 2 ++ xmss_hash.c | 2 ++ xmss_hash_address.c | 2 ++ xmss_hash_address.h | 2 ++ xmss_wots.c | 2 ++ xmss_wots.h | 2 ++ 8 files changed, 16 insertions(+) (limited to 'xmss_hash_address.c') diff --git a/xmss_commons.c b/xmss_commons.c index cf031f883..ff3ddb4ae 100644 --- a/xmss_commons.c +++ b/xmss_commons.c @@ -10,7 +10,9 @@ Public domain. #include "xmss_commons.h" #include #include +#ifdef HAVE_STDINT_H #include +#endif void to_byte(unsigned char *out, unsigned long long in, uint32_t bytes) { diff --git a/xmss_commons.h b/xmss_commons.h index 2cb7cc555..d9a920c02 100644 --- a/xmss_commons.h +++ b/xmss_commons.h @@ -8,7 +8,9 @@ Public domain. #define XMSS_COMMONS_H #include +#ifdef HAVE_STDINT_H #include +#endif void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes); #if 0 diff --git a/xmss_fast.c b/xmss_fast.c index 6aff36a07..b918f135a 100644 --- a/xmss_fast.c +++ b/xmss_fast.c @@ -10,7 +10,9 @@ Public domain. #include "xmss_fast.h" #include #include +#ifdef HAVE_STDINT_H #include +#endif #include "crypto_api.h" #include "xmss_wots.h" diff --git a/xmss_hash.c b/xmss_hash.c index 9c42c4f40..c4cac47fd 100644 --- a/xmss_hash.c +++ b/xmss_hash.c @@ -12,7 +12,9 @@ Public domain. #include "xmss_hash.h" #include +#ifdef HAVE_STDINT_H #include +#endif #include #include #include diff --git a/xmss_hash_address.c b/xmss_hash_address.c index 385868de7..0ff4fdb5a 100644 --- a/xmss_hash_address.c +++ b/xmss_hash_address.c @@ -6,7 +6,9 @@ Public domain. */ #include "includes.h" +#ifdef HAVE_STDINT_H #include +#endif #include "xmss_hash_address.h" /* prototypes */ void setLayerADRS(uint32_t adrs[8], uint32_t layer){ diff --git a/xmss_hash_address.h b/xmss_hash_address.h index 73cbfd61c..2bf434080 100644 --- a/xmss_hash_address.h +++ b/xmss_hash_address.h @@ -5,7 +5,9 @@ Joost Rijneveld Public domain. */ +#ifdef HAVE_STDINT_H #include +#endif void setLayerADRS(uint32_t adrs[8], uint32_t layer); diff --git a/xmss_wots.c b/xmss_wots.c index 4120acf17..9f1900fcb 100644 --- a/xmss_wots.c +++ b/xmss_wots.c @@ -8,7 +8,9 @@ Public domain. #include "includes.h" #include +#ifdef HAVE_STDINT_H #include +#endif #include #include "xmss_commons.h" #include "xmss_hash.h" diff --git a/xmss_wots.h b/xmss_wots.h index 495431087..8bcb44e04 100644 --- a/xmss_wots.h +++ b/xmss_wots.h @@ -8,7 +8,9 @@ Public domain. #ifndef WOTS_H #define WOTS_H +#ifdef HAVE_STDINT_H #include "stdint.h" +#endif /** * WOTS parameter set -- cgit v1.2.3 From a10d8552d0d2438da4ed539275abcbf557d1e7a8 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 27 Feb 2018 14:45:17 +1100 Subject: Conditionally compile XMSS code. The XMSS code is currently experimental and, unlike the rest of OpenSSH cannot currently be compiled with a c89 compiler. --- sshkey-xmss.c | 2 ++ xmss_commons.c | 2 ++ xmss_commons.h | 2 ++ xmss_fast.c | 2 ++ xmss_fast.h | 3 ++- xmss_hash.c | 2 ++ xmss_hash.h | 2 ++ xmss_hash_address.c | 2 ++ xmss_hash_address.h | 4 ++-- xmss_wots.c | 2 ++ xmss_wots.h | 2 ++ 11 files changed, 22 insertions(+), 3 deletions(-) (limited to 'xmss_hash_address.c') diff --git a/sshkey-xmss.c b/sshkey-xmss.c index f146098b3..e2b7c49ce 100644 --- a/sshkey-xmss.c +++ b/sshkey-xmss.c @@ -1,3 +1,4 @@ +#ifdef WITH_XMSS /* $OpenBSD: sshkey-xmss.c,v 1.1 2018/02/23 15:58:38 markus Exp $ */ /* * Copyright (c) 2017 Markus Friedl. All rights reserved. @@ -1051,3 +1052,4 @@ sshkey_xmss_enable_maxsign(struct sshkey *k, u_int32_t maxsign) state->maxidx = state->idx + maxsign; return 0; } +#endif /* WITH_XMSS */ diff --git a/xmss_commons.c b/xmss_commons.c index ff3ddb4ae..a25fc673c 100644 --- a/xmss_commons.c +++ b/xmss_commons.c @@ -1,3 +1,4 @@ +#ifdef WITH_XMSS /* xmss_commons.c 20160722 Andreas Hülsing @@ -31,3 +32,4 @@ void hexdump(const unsigned char *a, size_t len) printf("%02x", a[i]); } #endif +#endif /* WITH_XMSS */ diff --git a/xmss_commons.h b/xmss_commons.h index d9a920c02..a79ba11e9 100644 --- a/xmss_commons.h +++ b/xmss_commons.h @@ -1,3 +1,4 @@ +#ifdef WITH_XMSS /* xmss_commons.h 20160722 Andreas Hülsing @@ -17,3 +18,4 @@ void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes); void hexdump(const unsigned char *a, size_t len); #endif #endif +#endif /* WITH_XMSS */ diff --git a/xmss_fast.c b/xmss_fast.c index b918f135a..5e3a54314 100644 --- a/xmss_fast.c +++ b/xmss_fast.c @@ -1,3 +1,4 @@ +#ifdef WITH_XMSS /* xmss_fast.c version 20160722 Andreas Hülsing @@ -1101,3 +1102,4 @@ fail: *msglen = -1; return -1; } +#endif /* WITH_XMSS */ diff --git a/xmss_fast.h b/xmss_fast.h index 657cd27f4..52a83f869 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 */ diff --git a/xmss_hash.c b/xmss_hash.c index c4cac47fd..c8b271167 100644 --- a/xmss_hash.c +++ b/xmss_hash.c @@ -1,3 +1,4 @@ +#ifdef WITH_XMSS /* hash.c version 20160722 Andreas Hülsing @@ -135,3 +136,4 @@ int hash_f(unsigned char *out, const unsigned char *in, const unsigned char *pub } return core_hash_SHA2(out, 0, key, n, buf, n, n); } +#endif /* WITH_XMSS */ diff --git a/xmss_hash.h b/xmss_hash.h index 2fed73009..e01960cdb 100644 --- a/xmss_hash.h +++ b/xmss_hash.h @@ -1,3 +1,4 @@ +#ifdef WITH_XMSS /* hash.h version 20160722 Andreas Hülsing @@ -17,3 +18,4 @@ int hash_h(unsigned char *out, const unsigned char *in, const unsigned char *pub int hash_f(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t addr[8], const unsigned int n); #endif +#endif /* WITH_XMSS */ diff --git a/xmss_hash_address.c b/xmss_hash_address.c index 0ff4fdb5a..b970619e5 100644 --- a/xmss_hash_address.c +++ b/xmss_hash_address.c @@ -1,3 +1,4 @@ +#ifdef WITH_XMSS /* hash_address.c version 20160722 Andreas Hülsing @@ -61,3 +62,4 @@ void setTreeHeight(uint32_t adrs[8], uint32_t treeHeight){ void setTreeIndex(uint32_t adrs[8], uint32_t treeIndex){ adrs[6] = treeIndex; } +#endif /* WITH_XMSS */ diff --git a/xmss_hash_address.h b/xmss_hash_address.h index 2bf434080..7381aab09 100644 --- a/xmss_hash_address.h +++ b/xmss_hash_address.h @@ -1,3 +1,4 @@ +#ifdef WITH_XMSS /* hash_address.h version 20160722 Andreas Hülsing @@ -35,5 +36,4 @@ void setTreeHeight(uint32_t adrs[8], uint32_t treeHeight); void setTreeIndex(uint32_t adrs[8], uint32_t treeIndex); - - +#endif /* WITH_XMSS */ diff --git a/xmss_wots.c b/xmss_wots.c index 9f1900fcb..8e0c07be7 100644 --- a/xmss_wots.c +++ b/xmss_wots.c @@ -1,3 +1,4 @@ +#ifdef WITH_XMSS /* wots.c version 20160722 Andreas Hülsing @@ -187,3 +188,4 @@ int wots_pkFromSig(unsigned char *pk, const unsigned char *sig, const unsigned c free(basew); return 0; } +#endif /* WITH_XMSS */ diff --git a/xmss_wots.h b/xmss_wots.h index 8bcb44e04..6b3177c22 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 +#endif /* WITH_XMSS */ -- cgit v1.2.3 From 941e0d3e9bb8d5e4eb70cc694441445faf037c84 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Wed, 28 Feb 2018 19:59:35 +1100 Subject: Add WITH_XMSS, move to prevent conflicts. Add #ifdef WITH_XMSS to ssh-xmss.c, move it in the other files to after includes.h so it's less likely to conflict and will pick up WITH_XMSS if added to config.h. --- ssh-xmss.c | 2 ++ sshkey-xmss.c | 2 +- xmss_commons.c | 2 +- xmss_fast.c | 2 +- xmss_hash.c | 2 +- xmss_hash_address.c | 2 +- xmss_wots.c | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-) (limited to 'xmss_hash_address.c') diff --git a/ssh-xmss.c b/ssh-xmss.c index e25dbbf65..4c734fd7d 100644 --- a/ssh-xmss.c +++ b/ssh-xmss.c @@ -16,6 +16,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include "includes.h" +#ifdef WITH_XMSS #define SSHKEY_INTERNAL #include @@ -188,3 +189,4 @@ ssh_xmss_verify(const struct sshkey *key, free(ktype); return r; } +#endif /* WITH_XMSS */ diff --git a/sshkey-xmss.c b/sshkey-xmss.c index e2b7c49ce..5d66ee790 100644 --- a/sshkey-xmss.c +++ b/sshkey-xmss.c @@ -1,4 +1,3 @@ -#ifdef WITH_XMSS /* $OpenBSD: sshkey-xmss.c,v 1.1 2018/02/23 15:58:38 markus Exp $ */ /* * Copyright (c) 2017 Markus Friedl. All rights reserved. @@ -25,6 +24,7 @@ */ #include "includes.h" +#ifdef WITH_XMSS #include #include diff --git a/xmss_commons.c b/xmss_commons.c index a25fc673c..18f648d64 100644 --- a/xmss_commons.c +++ b/xmss_commons.c @@ -1,4 +1,3 @@ -#ifdef WITH_XMSS /* xmss_commons.c 20160722 Andreas Hülsing @@ -7,6 +6,7 @@ Public domain. */ #include "includes.h" +#ifdef WITH_XMSS #include "xmss_commons.h" #include diff --git a/xmss_fast.c b/xmss_fast.c index 5e3a54314..577a9c3e3 100644 --- a/xmss_fast.c +++ b/xmss_fast.c @@ -1,4 +1,3 @@ -#ifdef WITH_XMSS /* xmss_fast.c version 20160722 Andreas Hülsing @@ -7,6 +6,7 @@ Public domain. */ #include "includes.h" +#ifdef WITH_XMSS #include "xmss_fast.h" #include diff --git a/xmss_hash.c b/xmss_hash.c index c8b271167..f90e0560c 100644 --- a/xmss_hash.c +++ b/xmss_hash.c @@ -1,4 +1,3 @@ -#ifdef WITH_XMSS /* hash.c version 20160722 Andreas Hülsing @@ -7,6 +6,7 @@ Public domain. */ #include "includes.h" +#ifdef WITH_XMSS #include "xmss_hash_address.h" #include "xmss_commons.h" diff --git a/xmss_hash_address.c b/xmss_hash_address.c index b970619e5..21ae1033d 100644 --- a/xmss_hash_address.c +++ b/xmss_hash_address.c @@ -1,4 +1,3 @@ -#ifdef WITH_XMSS /* hash_address.c version 20160722 Andreas Hülsing @@ -6,6 +5,7 @@ Joost Rijneveld Public domain. */ #include "includes.h" +#ifdef WITH_XMSS #ifdef HAVE_STDINT_H #include diff --git a/xmss_wots.c b/xmss_wots.c index 8e0c07be7..7767a6561 100644 --- a/xmss_wots.c +++ b/xmss_wots.c @@ -1,4 +1,3 @@ -#ifdef WITH_XMSS /* wots.c version 20160722 Andreas Hülsing @@ -7,6 +6,7 @@ Public domain. */ #include "includes.h" +#ifdef WITH_XMSS #include #ifdef HAVE_STDINT_H -- cgit v1.2.3 From 27b9f3950e0289e225b57b7b880a8f1859dcd70b Mon Sep 17 00:00:00 2001 From: "dtucker@openbsd.org" Date: Mon, 26 Feb 2018 03:56:44 +0000 Subject: upstream: Add $OpenBSD$ markers to xmss files to help keep synced with portable. ok djm@. OpenBSD-Commit-ID: 5233a27aafd1dfadad4b957225f95ae51eb365c1 --- xmss_commons.c | 1 + xmss_commons.h | 1 + xmss_fast.c | 1 + xmss_fast.h | 1 + xmss_hash.c | 1 + xmss_hash.h | 1 + xmss_hash_address.c | 1 + xmss_hash_address.h | 1 + xmss_wots.c | 1 + xmss_wots.h | 1 + 10 files changed, 10 insertions(+) (limited to 'xmss_hash_address.c') diff --git a/xmss_commons.c b/xmss_commons.c index 18f648d64..59486aead 100644 --- a/xmss_commons.c +++ b/xmss_commons.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xmss_commons.c,v 1.2 2018/02/26 03:56:44 dtucker Exp $ */ /* xmss_commons.c 20160722 Andreas Hülsing diff --git a/xmss_commons.h b/xmss_commons.h index 6617cef3e..d5a14aa39 100644 --- a/xmss_commons.h +++ b/xmss_commons.h @@ -1,4 +1,5 @@ #ifdef WITH_XMSS +/* $OpenBSD: xmss_commons.h,v 1.3 2018/02/26 03:56:44 dtucker Exp $ */ /* xmss_commons.h 20160722 Andreas Hülsing diff --git a/xmss_fast.c b/xmss_fast.c index 577a9c3e3..e61d657c3 100644 --- a/xmss_fast.c +++ b/xmss_fast.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xmss_fast.c,v 1.2 2018/02/26 03:56:44 dtucker Exp $ */ /* xmss_fast.c version 20160722 Andreas Hülsing diff --git a/xmss_fast.h b/xmss_fast.h index 52a83f869..2ffba7057 100644 --- a/xmss_fast.h +++ b/xmss_fast.h @@ -1,4 +1,5 @@ #ifdef WITH_XMSS +/* $OpenBSD: xmss_fast.h,v 1.2 2018/02/26 03:56:44 dtucker Exp $ */ /* xmss_fast.h version 20160722 Andreas Hülsing diff --git a/xmss_hash.c b/xmss_hash.c index f90e0560c..b9eee7cff 100644 --- a/xmss_hash.c +++ b/xmss_hash.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xmss_hash.c,v 1.2 2018/02/26 03:56:44 dtucker Exp $ */ /* hash.c version 20160722 Andreas Hülsing diff --git a/xmss_hash.h b/xmss_hash.h index e01960cdb..d19c62152 100644 --- a/xmss_hash.h +++ b/xmss_hash.h @@ -1,4 +1,5 @@ #ifdef WITH_XMSS +/* $OpenBSD: xmss_hash.h,v 1.2 2018/02/26 03:56:44 dtucker Exp $ */ /* hash.h version 20160722 Andreas Hülsing diff --git a/xmss_hash_address.c b/xmss_hash_address.c index 21ae1033d..c6c1347e9 100644 --- a/xmss_hash_address.c +++ b/xmss_hash_address.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xmss_hash_address.c,v 1.2 2018/02/26 03:56:44 dtucker Exp $ */ /* hash_address.c version 20160722 Andreas Hülsing diff --git a/xmss_hash_address.h b/xmss_hash_address.h index 7381aab09..66bb4cc4d 100644 --- a/xmss_hash_address.h +++ b/xmss_hash_address.h @@ -1,4 +1,5 @@ #ifdef WITH_XMSS +/* $OpenBSD: xmss_hash_address.h,v 1.2 2018/02/26 03:56:44 dtucker Exp $ */ /* hash_address.h version 20160722 Andreas Hülsing diff --git a/xmss_wots.c b/xmss_wots.c index 7767a6561..b4702ed8d 100644 --- a/xmss_wots.c +++ b/xmss_wots.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xmss_wots.c,v 1.2 2018/02/26 03:56:44 dtucker Exp $ */ /* wots.c version 20160722 Andreas Hülsing diff --git a/xmss_wots.h b/xmss_wots.h index 6b3177c22..b8a178e8b 100644 --- a/xmss_wots.h +++ b/xmss_wots.h @@ -1,4 +1,5 @@ #ifdef WITH_XMSS +/* $OpenBSD: xmss_wots.h,v 1.2 2018/02/26 03:56:44 dtucker Exp $ */ /* wots.h version 20160722 Andreas Hülsing -- cgit v1.2.3