From 2a9c81b5c422f20e1f701109e1e9073fe2cef9b3 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 26 Sep 2017 21:33:54 +0200 Subject: [PATCH] Explain why pwhash parameters must be stored --- src/libsodium/include/sodium/crypto_pwhash.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libsodium/include/sodium/crypto_pwhash.h b/src/libsodium/include/sodium/crypto_pwhash.h index d43932b2..0b0f3633 100644 --- a/src/libsodium/include/sodium/crypto_pwhash.h +++ b/src/libsodium/include/sodium/crypto_pwhash.h @@ -97,6 +97,8 @@ size_t crypto_pwhash_memlimit_sensitive(void); /* * With this function, do not forget to store all parameters, including the * algorithm identifier in order to produce deterministic output. + * The crypto_pwhash_* definitions, including crypto_pwhash_ALG_DEFAULT, + * may change. */ SODIUM_EXPORT int crypto_pwhash(unsigned char * const out, unsigned long long outlen,