From a95aaf0b37681f83f0cf1e7d6d65f74ef6aa1100 Mon Sep 17 00:00:00 2001 From: Joost Rijneveld Date: Wed, 1 Nov 2017 13:35:35 +0100 Subject: [PATCH] Fix typo in WOTS comments: n-byte messages, not m --- wots.c | 4 ++-- wots.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wots.c b/wots.c index 9c239a0..ad26580 100644 --- a/wots.c +++ b/wots.c @@ -126,7 +126,7 @@ void wots_pkgen(const xmss_params *params, } /** - * Takes a m-byte message and the 32-byte seed for the private key to compute a + * Takes a n-byte message and the 32-byte seed for the private key to compute a * signature that is placed at 'sig'. */ void wots_sign(const xmss_params *params, @@ -150,7 +150,7 @@ void wots_sign(const xmss_params *params, } /** - * Takes a WOTS signature and an m-byte message, computes a WOTS public key. + * Takes a WOTS signature and an n-byte message, computes a WOTS public key. * * Writes the computed public key to 'pk'. */ diff --git a/wots.h b/wots.h index f0866ac..f1db255 100644 --- a/wots.h +++ b/wots.h @@ -17,7 +17,7 @@ void wots_pkgen(const xmss_params *params, const unsigned char *pub_seed, uint32_t addr[8]); /** - * Takes a m-byte message and the 32-byte seed for the private key to compute a + * Takes a n-byte message and the 32-byte seed for the private key to compute a * signature that is placed at 'sig'. */ void wots_sign(const xmss_params *params, @@ -26,7 +26,7 @@ void wots_sign(const xmss_params *params, uint32_t addr[8]); /** - * Takes a WOTS signature and an m-byte message, computes a WOTS public key. + * Takes a WOTS signature and an n-byte message, computes a WOTS public key. * * Writes the computed public key to 'pk'. */