Skip to content

Conversation

@greateggsgreg
Copy link
Contributor

With the bump to OpenSSL v0.10.74, argon2d and argon2i variants are available

This PR exposes those variants for use in cryptography

Copy link
Member

@alex alex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please send the vectors as a dedicated PR + document them in test-vectors.rst. Thanks!

@greateggsgreg
Copy link
Contributor Author

can you please send the vectors as a dedicated PR + document them in test-vectors.rst. Thanks!

@alex , happy to - submitted in PR #13720

The docs update for the test vectors is admittedly minimal, but I extracted them from the same methods as argon2id

@greateggsgreg greateggsgreg force-pushed the feature/additional_argon2_variant_support branch from 707f0b4 to 07dd7a5 Compare October 22, 2025 15:49
@reaperhulk
Copy link
Member

Over the weekend we implemented derive_into on argon2id (and a bunch of other KDFs) so this will need to be rebased.

@greateggsgreg
Copy link
Contributor Author

Over the weekend we implemented derive_into on argon2id (and a bunch of other KDFs) so this will need to be rebased.

Just merged the latest main and resolved the relevant conflicts. All Argon2 variant should now support derive_into

@reaperhulk reaperhulk merged commit c4f34a2 into pyca:main Nov 3, 2025
68 checks passed
@reaperhulk
Copy link
Member

Thanks for your work here!

@greateggsgreg greateggsgreg deleted the feature/additional_argon2_variant_support branch November 3, 2025 20:44
@h-vetinari
Copy link

Can't comment in #9795 anymore, but leaving a link for posterity to that and the original implementation in #11524

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants