Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert deprecating scrypt.h until everything is worked out | Jack Lloyd | 2020-03-14 | 2 | -1/+3 |
| | | | | Need better docs etc how to do it without using these interfaces | ||||
* | revert BOTAN_FUTURE_INTERNAL_HEADER(argon2.h) (fixes #2230) | Nuno Goncalves | 2020-01-06 | 1 | -2/+0 |
| | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
* | Reduce time needed to tune Argon2 | Jack Lloyd | 2019-12-08 | 1 | -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 warnings | Jack Lloyd | 2019-10-25 | 1 | -0/+6 |
| | | | | Some due to missing comments, others due to various misparsing of the code. | ||||
* | Moar | Jack Lloyd | 2019-09-06 | 1 | -0/+2 |
| | |||||
* | Deprecate many publically available headers | Jack Lloyd | 2019-09-06 | 7 | -13/+31 |
| | |||||
* | Fix PBKDF2 with zero iterations | Jack Lloyd | 2019-08-31 | 1 | -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 outputs | Jack Lloyd | 2019-08-24 | 1 | -1/+1 |
| | |||||
* | Fix LGTM alert | Jack Lloyd | 2019-08-23 | 1 | -1/+6 |
| | |||||
* | Support long outputs from Argon2 | Jack Lloyd | 2019-08-23 | 1 | -3/+26 |
| | | | | Closes #2078 | ||||
* | Merge GH #2010 Fix MSVC warnings | Jack Lloyd | 2019-06-29 | 6 | -9/+9 |
|\ | |||||
| * | Fix various MSVC warnings | Jack Lloyd | 2019-06-29 | 6 | -9/+9 |
| | | |||||
* | | Fix some minimized build problems | Jack Lloyd | 2019-06-29 | 1 | -0/+1 |
|/ | |||||
* | Fix more MSVC warnings | Jack Lloyd | 2019-06-14 | 2 | -18/+18 |
| | |||||
* | Resolve some MSVC warnings | Jack Lloyd | 2019-06-14 | 5 | -9/+9 |
| | |||||
* | Add Bcrypt-PBKDF | Jack Lloyd | 2019-05-31 | 4 | -0/+276 |
| | |||||
* | Argon2: minor optimizations, add tests of CLI, tweak tuning | Jack Lloyd | 2019-05-30 | 2 | -33/+38 |
| | |||||
* | Improve test coverage. Fix Argon2 default params | Jack Lloyd | 2019-05-29 | 1 | -2/+2 |
| | |||||
* | Add missing include | Jack Lloyd | 2019-05-29 | 1 | -0/+1 |
| | |||||
* | Argon2: PasswordHash, documentation, hash formatting | Jack Lloyd | 2019-05-29 | 4 | -2/+371 |
| | |||||
* | Add Argon2 | Jack Lloyd | 2019-05-27 | 3 | -0/+455 |
| | | | | Closes GH #459 | ||||
* | Replace upper_bound with lower_bound in pgp_s2k | Evgeny Pokhilko | 2019-03-11 | 1 | -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 builds | Jack Lloyd | 2019-02-16 | 1 | -1/+1 |
| | | | | Various configurations would fail build or test, fix that. | ||||
* | Fix MSVC warnings | Jack Lloyd | 2018-12-31 | 1 | -1/+1 |
| | |||||
* | Improve PBKDF self-tuning | Jack Lloyd | 2018-12-29 | 3 | -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 Lloyd | 2018-12-05 | 1 | -0/+1 |
| | |||||
* | Make exceptions easier to translate to error codes | Jack Lloyd | 2018-11-23 | 2 | -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 warnings | Jack Lloyd | 2018-10-01 | 1 | -2/+2 |
| | |||||
* | Avoid a MSVC 2015 warning | Jack Lloyd | 2018-10-01 | 3 | -3/+3 |
| | |||||
* | Fix some MSVC warnings | Jack Lloyd | 2018-09-30 | 1 | -1/+1 |
| | |||||
* | Spell check the documentation | Jack Lloyd | 2018-09-28 | 1 | -1/+1 |
| | |||||
* | Correct some maintiner mode warnings | Jack Lloyd | 2018-09-20 | 2 | -4/+4 |
| | |||||
* | Support tuning in PGP-S2K PBKDF interface | Jack Lloyd | 2018-09-10 | 1 | -3/+8 |
| | |||||
* | Add from_iterations | Jack Lloyd | 2018-09-10 | 7 | -4/+53 |
| | |||||
* | Convert Scrypt | Jack Lloyd | 2018-09-10 | 3 | -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-S2K | Jack Lloyd | 2018-09-10 | 2 | -63/+225 |
| | | | | This is a contribution by Ribose Inc (@riboseinc) | ||||
* | Convert PBKDF2 | Jack Lloyd | 2018-09-10 | 3 | -71/+226 |
| | | | | This is a contribution by Ribose Inc (@riboseinc) | ||||
* | Add PasswordHash and PasswordHashFamily | Jack Lloyd | 2018-09-10 | 4 | -1/+242 |
| | | | | This is a contribution by Ribose Inc (@riboseinc) | ||||
* | Support scrypt for encrypting private keys | Jack Lloyd | 2018-05-22 | 2 | -0/+95 |
| | |||||
* | Add Scrypt key dervation function | Jack Lloyd | 2018-05-16 | 3 | -0/+146 |
| | |||||
* | Add message to BOTAN_ARG_CHECK and use it more widely | Jack Lloyd | 2018-05-13 | 4 | -5/+4 |
| | |||||
* | Correct dependencies of kdf and pbkdf [ci skip] | Jack Lloyd | 2018-01-17 | 1 | -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 Lloyd | 2017-10-03 | 2 | -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 fix | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | Compat typedef PBKDF -> S2K | Jack Lloyd | 2017-09-29 | 1 | -1/+12 |
| | | | | [ci skip] | ||||
* | Cryptobox code modernization | Jack Lloyd | 2017-09-22 | 2 | -0/+21 |
| | | | | Only encrypt so it's easy to verify everything still works. | ||||
* | Header file cleanups | Jack Lloyd | 2017-09-21 | 2 | -2/+0 |
| | | | | Some help from include-what-you-use | ||||
* | Change header guard format to BOTAN_FOO_H_ | Jack Lloyd | 2017-09-20 | 4 | -8/+8 |
| | | | | | | ISO C++ reserves names with double underscores in them Closes #512 | ||||
* | Complete the final annotation changes | Jack Lloyd | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Add API stability annotations. | Jack Lloyd | 2017-09-19 | 3 | -4/+4 |
| | | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols. |