ソースを参照

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

master
Joost Rijneveld 7年前
コミット
a95aaf0b37
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: A4FE39CF49CBC553
2個のファイルの変更4行の追加4行の削除
  1. +2
    -2
      wots.c
  2. +2
    -2
      wots.h

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


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


読み込み中…
キャンセル
保存