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

argon2: Add const compatibility #438

Merged
merged 23 commits into from
Aug 7, 2023
Merged

argon2: Add const compatibility #438

merged 23 commits into from
Aug 7, 2023

Conversation

C0D3-M4513R
Copy link
Contributor

Closes #436

argon2/src/params.rs Outdated Show resolved Hide resolved
@C0D3-M4513R C0D3-M4513R requested a review from newpavlov July 3, 2023 15:49
argon2/Cargo.toml Outdated Show resolved Hide resolved
argon2/src/params.rs Outdated Show resolved Hide resolved
argon2/src/params.rs Outdated Show resolved Hide resolved
Co-authored-by: Tony Arcieri <bascule@gmail.com>
@C0D3-M4513R C0D3-M4513R requested a review from tarcieri July 3, 2023 16:04
@C0D3-M4513R
Copy link
Contributor Author

Ah 383be35 only works in nightly... I had a rust override set for that folder

@C0D3-M4513R C0D3-M4513R changed the title Add const compatibility argon2: Add const compatibility Jul 4, 2023
@tarcieri tarcieri merged commit 5e3f574 into RustCrypto:master Aug 7, 2023
@tarcieri
Copy link
Member

tarcieri commented Aug 7, 2023

It seems I merged this after #440 which is not compatible with these changes, namely it introduced runtime CPU feature detection which is not const-friendly.

I'm going to revert for now: #447

tarcieri added a commit that referenced this pull request Aug 7, 2023
This reverts commit 5e3f574.

These changes are incompatible with #440, which performs runtime CPU
feature detection.
tarcieri added a commit that referenced this pull request Aug 7, 2023
This reverts commit 5e3f574.

These changes are incompatible with #440, which performs runtime CPU
feature detection.
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

Successfully merging this pull request may close these issues.

argon2: const ParamsBuilder
3 participants