Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pwhash opslimit constants type #1

Open
kirelagin opened this issue May 20, 2020 · 1 comment
Open

pwhash opslimit constants type #1

kirelagin opened this issue May 20, 2020 · 1 comment

Comments

@kirelagin
Copy link
Contributor

In the type of crypto_pwhash:

  • (opslimit ::: CULLong) (correct)

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 kirelagin changed the title pwhash opslimig constants type pwhash opslimit constants type May 20, 2020
@kirelagin
Copy link
Contributor Author

kirelagin commented Jun 13, 2020

Upstream issue: jedisct1/libsodium#966

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant