Open kirelagin opened 4 years ago
In the type of crypto_pwhash:
crypto_pwhash
(opslimit ::: CULLong)
But the crypto_pwhash_memlimit_* constants, that are meant to be passed there, have types CSize (incorrect).
crypto_pwhash_memlimit_*
CSize
I guess this might be a copy-paste error because memlimit is nearby and actually has type CSize.
memlimit
Upstream issue: jedisct1/libsodium#966
In the type of
crypto_pwhash
:(opslimit ::: CULLong)
(correct)But the
crypto_pwhash_memlimit_*
constants, that are meant to be passed there, have typesCSize
(incorrect).I guess this might be a copy-paste error because
memlimit
is nearby and actually has typeCSize
.