aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pbkdf
Commit message (Collapse)AuthorAgeFilesLines
* Remove needless includeJack Lloyd2022-03-051-1/+0
|
* if/elseJack Lloyd2022-03-041-4/+6
|
* Add ISA annotations needed for amalgamation buildJack Lloyd2022-03-041-0/+2
|
* Add Argon2 SSSE3 implementationJack Lloyd2022-03-044-0/+292
|
* Add threading to Argon2Jack Lloyd2022-03-041-169/+120
| | | | | Also various other minor optimizations related to reducing dynamic memory allocation, improving inlining, etc.
* Remove static from data in anonymous namespacesJack Lloyd2022-02-062-2/+2
|
* Fix clang-tidy readability-named-parameterJack Lloyd2022-02-062-4/+4
|
* Remove the OpenSSL providerJack Lloyd2021-10-282-4/+2
| | | | | | | | Starting in OpenSSL 3.0, most of the functionality which we need to implement the OpenSSL provider is deprecated. Rather than reimplement the whole provider in order to allow it to continue to work in the future, just remove it. Efforts would be better spent doing more optimization work rather than chasing OpenSSL's API changes.
* Fix sstream usageJack Lloyd2021-04-271-4/+9
|
* Run scrypt and bcrypt-pbkdf through PasswordHashJack Lloyd2021-04-195-60/+78
| | | | | The old top level fns like scrypt are now deprecated, and we can now mark the algorithm headers as future-internal.
* Officially deprecate argon2() and argon2.hJack Lloyd2021-04-151-1/+2
|
* Avoid using the bare argon2() functionJack Lloyd2021-04-151-1/+5
|
* Make argon2() just an inline using PasswordHash APIJack Lloyd2021-04-153-27/+52
|
* Deprecate pgp_s2k.hJack Lloyd2021-04-151-1/+1
| | | | | Now that RFC4880 count encoding is in a new header everything in this header is accessible via PasswordHash base class.
* Add derive_key variant supporting AD and secret keyJack Lloyd2021-04-084-0/+62
|
* Merge GH #2705 Split PBKDF headersJack Lloyd2021-04-089-227/+122
|\
| * Add missing included needed on ClangJack Lloyd2021-04-071-0/+1
| |
| * Update the password hashing docsJack Lloyd2021-04-071-1/+1
| |
| * Move Argon2 formatting to argon2fmt moduleJack Lloyd2021-04-073-143/+5
| |
| * Move RFC 4880 encoding to rfc4880.hJack Lloyd2021-04-075-83/+115
| | | | | | | | | | This allows making pgp_s2k.h internal in the future while leaving the RFC 4880 logic available.
* | Add PBKDF2::new_objectJack Lloyd2021-04-074-6/+14
|/
* More make_uniqueJack Lloyd2021-04-051-3/+3
|
* More raw pointer removalJack Lloyd2021-04-052-2/+2
|
* Use make_unique in PBKDF functionsJack Lloyd2021-04-035-14/+14
|
* MSVC is the worst compiler evarJack Lloyd2021-04-031-3/+3
|
* Use make_unique in type factory functionsJack Lloyd2021-04-031-8/+8
|
* update docs in codethe2021-02-151-7/+5
|
* Add copyright and license decl to some files that were missing [ci skip]Jack Lloyd2021-01-262-2/+2
|
* Align some more tablesJack Lloyd2020-12-221-1/+1
| | | | | The bcrypt tables aren't lookup tables but aligning them makes the loads within Blowfish a bit faster.
* Fix #2525 for Pwdhash interfaceJack Lloyd2020-12-051-2/+2
|
* Switch MAC vs HMAC preference in KDF and PBKDF2Jack Lloyd2020-12-011-2/+2
| | | | | | | | Adding BLAKE2b as a MAC caused "PBKDF2(BLAKE2b)" to become interpreted as PBKDF2 with keyed BLAKE, instead of the previous interpretation of PBKDF2 with BLAKE2/HMAC. (And similarly for HKDF, etc) Fixes #2525
* Make scan_name.h, cpuid.h and http_util.h internalJack Lloyd2020-11-283-3/+3
|
* Remove some unused includes of rounding.hJack Lloyd2020-11-111-1/+0
|
* Remove deprecated headers, make more headers internalJack Lloyd2020-11-069-7/+27
| | | | | | | | | Now modules default to internal headers instead of defaulting to public; making a new public API should be a visible and intentional choice. Brings the public header count from over 300 to around 150. Also removes the deprecated tls_blocking interface
* Remove PBKDF1Jack Lloyd2020-11-054-127/+0
|
* Revert deprecating scrypt.h until everything is worked outJack Lloyd2020-03-142-1/+3
| | | | Need better docs etc how to do it without using these interfaces
* revert BOTAN_FUTURE_INTERNAL_HEADER(argon2.h) (fixes #2230)Nuno Goncalves2020-01-061-2/+0
| | | | Signed-off-by: Nuno Goncalves <[email protected]>
* Reduce time needed to tune Argon2Jack Lloyd2019-12-081-3/+3
| | | | | | | | Testing with 256 MiB is overkill and makes for slow tuning times. Reduce to 36 MiB which is still much larger than the L3 cache availble to a single core on any reasonably priced processor. Closes #2217
* Fix various Doxygen warningsJack Lloyd2019-10-251-0/+6
| | | | Some due to missing comments, others due to various misparsing of the code.
* MoarJack Lloyd2019-09-061-0/+2
|
* Deprecate many publically available headersJack Lloyd2019-09-067-13/+31
|
* Fix PBKDF2 with zero iterationsJack Lloyd2019-08-311-0/+6
| | | | | | | | | | | It would go into a very long loop. OpenSSL treats iterations==0 same as iterations==1 but this seems confusing. Instead just reject it. Unrelated, fix a divide by zero if asked to tune with 0 byte output. Closes GH #2088
* Bump Argon2 version to indicate support for long outputsJack Lloyd2019-08-241-1/+1
|
* Fix LGTM alertJack Lloyd2019-08-231-1/+6
|
* Support long outputs from Argon2Jack Lloyd2019-08-231-3/+26
| | | | Closes #2078
* Merge GH #2010 Fix MSVC warningsJack Lloyd2019-06-296-9/+9
|\
| * Fix various MSVC warningsJack Lloyd2019-06-296-9/+9
| |
* | Fix some minimized build problemsJack Lloyd2019-06-291-0/+1
|/
* Fix more MSVC warningsJack Lloyd2019-06-142-18/+18
|
* Resolve some MSVC warningsJack Lloyd2019-06-145-9/+9
|