mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 07:43:37 +00:00
Argon2id KDF (#2309)
* add gcc_flags for libargon2.a * fix up ios proj * remove unused tag * add gcc_flags to ios projects * ios libargon2 binary * fix paths in ios project * update pathing on other projs * Argon2id primitive * fix typing issues * comment * remove ds store * [PS-2249] Implement Argon2 (#2293) * Implement Argon2 * Fix incorrect argon2 type on iOS * Switch argon2 implementation to native bindings * Change argon2 to save iterations instead of memory as 'kdfIterations' * Remove mistakenly added import * Remove unused library * cleanup * move android libs * move android libs * Revert "move android libs" This reverts commit0b91b22cd2. * Revert "move android libs" This reverts commit139839c469. * PR feedback Co-authored-by: Bernd Schoolmann <mail@quexten.com>
This commit is contained in:
@@ -10,6 +10,10 @@ namespace Bit.Core.Abstractions
|
||||
Task<byte[]> Pbkdf2Async(byte[] password, string salt, CryptoHashAlgorithm algorithm, int iterations);
|
||||
Task<byte[]> Pbkdf2Async(string password, byte[] salt, CryptoHashAlgorithm algorithm, int iterations);
|
||||
Task<byte[]> Pbkdf2Async(byte[] password, byte[] salt, CryptoHashAlgorithm algorithm, int iterations);
|
||||
Task<byte[]> Argon2Async(string password, string salt, int iterations, int memory, int parallelism);
|
||||
Task<byte[]> Argon2Async(byte[] password, string salt, int iterations, int memory, int parallelism);
|
||||
Task<byte[]> Argon2Async(string password, byte[] salt, int iterations, int memory, int parallelism);
|
||||
Task<byte[]> Argon2Async(byte[] password, byte[] salt, int iterations, int memory, int parallelism);
|
||||
Task<byte[]> HkdfAsync(byte[] ikm, string salt, string info, int outputByteSize, HkdfAlgorithm algorithm);
|
||||
Task<byte[]> HkdfAsync(byte[] ikm, byte[] salt, string info, int outputByteSize, HkdfAlgorithm algorithm);
|
||||
Task<byte[]> HkdfAsync(byte[] ikm, string salt, byte[] info, int outputByteSize, HkdfAlgorithm algorithm);
|
||||
|
||||
Reference in New Issue
Block a user