summaryrefslogtreecommitdiff
path: root/xmss_wots.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-04-10 00:10:49 +0000
committerDamien Miller <djm@mindrot.org>2018-04-10 10:17:15 +1000
commit001aa55484852370488786bd40e9fdad4b465811 (patch)
tree8b98f20603dea5362f66fbfcc8c400e29c7492bb /xmss_wots.c
parent260ede2787fe80b18b8d5920455b4fb268519c7d (diff)
upstream: lots of typos in comments/docs. Patch from Karsten Weiss
after checking with codespell tool (https://github.com/lucasdemarchi/codespell) OpenBSD-Commit-ID: 373222f12d7ab606598a2d36840c60be93568528
Diffstat (limited to 'xmss_wots.c')
-rw-r--r--xmss_wots.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmss_wots.c b/xmss_wots.c
index b4702ed8d..ed904cd75 100644
--- a/xmss_wots.c
+++ b/xmss_wots.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: xmss_wots.c,v 1.2 2018/02/26 03:56:44 dtucker Exp $ */ 1/* $OpenBSD: xmss_wots.c,v 1.3 2018/04/10 00:10:49 djm Exp $ */
2/* 2/*
3wots.c version 20160722 3wots.c version 20160722
4Andreas Hülsing 4Andreas Hülsing
@@ -65,7 +65,7 @@ static void expand_seed(unsigned char *outseeds, const unsigned char *inseed, co
65 * Computes the chaining function. 65 * Computes the chaining function.
66 * out and in have to be n-byte arrays 66 * out and in have to be n-byte arrays
67 * 67 *
68 * interpretes in as start-th value of the chain 68 * interprets in as start-th value of the chain
69 * addr has to contain the address of the chain 69 * addr has to contain the address of the chain
70 */ 70 */
71static void gen_chain(unsigned char *out, const unsigned char *in, unsigned int start, unsigned int steps, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8]) 71static void gen_chain(unsigned char *out, const unsigned char *in, unsigned int start, unsigned int steps, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8])