mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 07:35:38 +00:00
Merge pull request #211 from PQClean/fix-205
Fix documentation for Dilithium `crypto_sign_open`
This commit is contained in:
commit
7e4c4c5112
@ -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
|
||||
**************************************************/
|
||||
|
@ -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
|
||||
**************************************************/
|
||||
|
@ -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
|
||||
**************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user