Fix typo in WOTS comments: n-byte messages, not m

这个提交包含在:
Joost Rijneveld 2017-11-01 13:35:35 +01:00
父节点 e5fceef2e2
当前提交 a95aaf0b37
找不到此签名对应的密钥
GPG 密钥 ID: A4FE39CF49CBC553
共有 2 个文件被更改,包括 4 次插入4 次删除

4
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'.
*/

4
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'.
*/