ソースを参照

Fix documentation for Dilithium `crypto_sign_open`

It mentioned `sk` instead of `pk` as specified in the arguments.

Closes #205.
master
Thom Wiggers 5年前
コミット
3c2967b5a1
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 1BB0A7CE26E363
3個のファイルの変更3行の追加3行の削除
  1. +1
    -1
      crypto_sign/dilithium2/clean/sign.c
  2. +1
    -1
      crypto_sign/dilithium3/clean/sign.c
  3. +1
    -1
      crypto_sign/dilithium4/clean/sign.c

+ 1
- 1
crypto_sign/dilithium2/clean/sign.c ファイルの表示

@@ -367,7 +367,7 @@ int PQCLEAN_DILITHIUM2_CLEAN_crypto_sign(uint8_t *sm,
* - unsigned long long *mlen: pointer to output length of message
* - const unsigned char *sm: pointer to signed message
* - unsigned long long smlen: length of signed message
* - const unsigned char *sk: pointer to bit-packed public key
* - const unsigned char *pk: pointer to bit-packed public key
*
* Returns 0 if signed message could be verified correctly and -1 otherwise
**************************************************/


+ 1
- 1
crypto_sign/dilithium3/clean/sign.c ファイルの表示

@@ -367,7 +367,7 @@ int PQCLEAN_DILITHIUM3_CLEAN_crypto_sign(uint8_t *sm,
* - unsigned long long *mlen: pointer to output length of message
* - const unsigned char *sm: pointer to signed message
* - unsigned long long smlen: length of signed message
* - const unsigned char *sk: pointer to bit-packed public key
* - const unsigned char *pk: pointer to bit-packed public key
*
* Returns 0 if signed message could be verified correctly and -1 otherwise
**************************************************/


+ 1
- 1
crypto_sign/dilithium4/clean/sign.c ファイルの表示

@@ -367,7 +367,7 @@ int PQCLEAN_DILITHIUM4_CLEAN_crypto_sign(uint8_t *sm,
* - unsigned long long *mlen: pointer to output length of message
* - const unsigned char *sm: pointer to signed message
* - unsigned long long smlen: length of signed message
* - const unsigned char *sk: pointer to bit-packed public key
* - const unsigned char *pk: pointer to bit-packed public key
*
* Returns 0 if signed message could be verified correctly and -1 otherwise
**************************************************/


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