k0001 / hs-libsodium

Haskell bindings to the libsodium C library
https://hackage.haskell.org/package/libsodium
ISC License
1 stars 4 forks source link

pwhash opslimit constants type #1

Open kirelagin opened 4 years ago

kirelagin commented 4 years ago

In the type of crypto_pwhash:

But the crypto_pwhash_memlimit_* constants, that are meant to be passed there, have types CSize (incorrect).

I guess this might be a copy-paste error because memlimit is nearby and actually has type CSize.

kirelagin commented 4 years ago

Upstream issue: jedisct1/libsodium#966