Explain why pwhash parameters must be stored

This commit is contained in:
Frank Denis 2017-09-26 21:33:54 +02:00
parent 93c386cb6c
commit 2a9c81b5c4

View File

@ -97,6 +97,8 @@ size_t crypto_pwhash_memlimit_sensitive(void);
/* /*
* With this function, do not forget to store all parameters, including the * With this function, do not forget to store all parameters, including the
* algorithm identifier in order to produce deterministic output. * algorithm identifier in order to produce deterministic output.
* The crypto_pwhash_* definitions, including crypto_pwhash_ALG_DEFAULT,
* may change.
*/ */
SODIUM_EXPORT SODIUM_EXPORT
int crypto_pwhash(unsigned char * const out, unsigned long long outlen, int crypto_pwhash(unsigned char * const out, unsigned long long outlen,