libscrypt_hash() return value not documented
Closed this issue · 0 comments
andlabs commented
Judging from the source, libscrypt_hash()
returns 0 on failure and nonzero on success, which is the opposite of what the header file says for the reference function libscrypt_scrypt()
. Perhaps the return of libscrypt_hash()
should be documented in the header as well, at least for completeness's sake.