-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #291 from chrisccoulson/prepare-for-pbkdf2-for-pas…
…sphrase-support argon2: refactor API to prepare for PBKDF2 support for passphrases. This renames the existing KDFOptions, KDFCostParams and KDF types to Argon2Options, Argon2CostParams and Argon2KDF in preparation for the introduction of PBKDF2 support for passphrases in another PR, which will use a new options implementation. Both options implementations will implement a new interface (KDFOptions). As PBKDF2 won't be abstracted like Argon2 is because it doesn't use lots of memory, also remove the kdf argument from functions that take them. Instead, have a process wide Argon2KDF implementation, set by calling SetArgon2KDF.
- Loading branch information
Showing
13 changed files
with
251 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.