aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pbkdf
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add Bcrypt-PBKDFJack Lloyd2019-05-314-0/+276
|
* Argon2: minor optimizations, add tests of CLI, tweak tuningJack Lloyd2019-05-302-33/+38
|
* Improve test coverage. Fix Argon2 default paramsJack Lloyd2019-05-291-2/+2
|
* Add missing includeJack Lloyd2019-05-291-0/+1
|
* Argon2: PasswordHash, documentation, hash formattingJack Lloyd2019-05-294-2/+371
|
* Add Argon2Jack Lloyd2019-05-273-0/+455
| | | | Closes GH #459
* Replace upper_bound with lower_bound in pgp_s2kEvgeny Pokhilko2019-03-111-1/+1
| | | | | | | | Fix: RFC4880_encode_count doesn't return consistent results when processing exact iterations. It returns RFC4880 code + 1. Update PGP_S2K_Iter test to verify PGP formula Add test to verify that encoded values match the PGP formula
* Fixes for minimized buildsJack Lloyd2019-02-161-1/+1
| | | | Various configurations would fail build or test, fix that.
* Fix MSVC warningsJack Lloyd2018-12-311-1/+1
|
* Improve PBKDF self-tuningJack Lloyd2018-12-293-63/+60
| | | | | | | | | Make the tune interval a build-time configurable instead of hardcoding it in each source file. Also use binary search in RFC4880_encode_count instead of linear search. Fix a bug in Timer
* Fix Doxygen errors [ci skip]Jack Lloyd2018-12-051-0/+1
|
* Make exceptions easier to translate to error codesJack Lloyd2018-11-232-2/+2
| | | | | | | | | | | Avoid throwing base Botan::Exception type, as it is difficult to determine what the error is in that case. Add Exception::error_code and Exception::error_type which allows (for error code) more information about the error and (for error type) allows knowing the error type without requiring a sequence of catches. See GH #1742
* Fix more MSVC warningsJack Lloyd2018-10-011-2/+2
|
* Avoid a MSVC 2015 warningJack Lloyd2018-10-013-3/+3
|
* Fix some MSVC warningsJack Lloyd2018-09-301-1/+1
|
* Spell check the documentationJack Lloyd2018-09-281-1/+1
|
* Correct some maintiner mode warningsJack Lloyd2018-09-202-4/+4
|
* Support tuning in PGP-S2K PBKDF interfaceJack Lloyd2018-09-101-3/+8
|
* Add from_iterationsJack Lloyd2018-09-107-4/+53
|
* Convert ScryptJack Lloyd2018-09-103-108/+228
| | | | | | | This also changes some (library only) APIs so PBES2 needed to be modified. This is a contribution of Ribose Inc (@riboseinc)
* Convert PGP-S2KJack Lloyd2018-09-102-63/+225
| | | | This is a contribution by Ribose Inc (@riboseinc)
* Convert PBKDF2Jack Lloyd2018-09-103-71/+226
| | | | This is a contribution by Ribose Inc (@riboseinc)
* Add PasswordHash and PasswordHashFamilyJack Lloyd2018-09-104-1/+242
| | | | This is a contribution by Ribose Inc (@riboseinc)
* Support scrypt for encrypting private keysJack Lloyd2018-05-222-0/+95
|
* Add Scrypt key dervation functionJack Lloyd2018-05-163-0/+146
|
* Add message to BOTAN_ARG_CHECK and use it more widelyJack Lloyd2018-05-134-5/+4
|
* Correct dependencies of kdf and pbkdf [ci skip]Jack Lloyd2018-01-171-1/+2
| | | | They assumed base pulled in hash and mac which is no longer true
* Add wrappers for reinterpret_cast between char* and uint8_t*Jack Lloyd2017-10-032-2/+2
| | | | | | | Generally speaking reinterpret_cast is sketchy stuff. But the special case of char*/uint8_t* is both common and safe. By isolating those, the remaining (likely sketchy) cases are easier to grep for.
* Thinko fixJack Lloyd2017-09-301-1/+1
|
* Compat typedef PBKDF -> S2KJack Lloyd2017-09-291-1/+12
| | | | [ci skip]
* Cryptobox code modernizationJack Lloyd2017-09-222-0/+21
| | | | Only encrypt so it's easy to verify everything still works.
* Header file cleanupsJack Lloyd2017-09-212-2/+0
| | | | Some help from include-what-you-use
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-204-8/+8
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Complete the final annotation changesJack Lloyd2017-09-191-1/+1
|
* Add API stability annotations.Jack Lloyd2017-09-193-4/+4
| | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols.