Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move passhash9 and bcrypt tests to passhash/ subdir | Jack Lloyd | 2017-09-24 | 1 | -279/+0 |
| | | | | [ci skip] | ||||
* | Fix incorrect password truncation in bcrypt password hashing. | Jack Lloyd | 2017-03-24 | 1 | -1/+271 |
| | | | | | | | | | | The 56 char bound is bogus; Blowfish itself allows at most 448 bits in the key schedule, but Bcrypt's modification allows up to 72 chars for the password. Bug pointed out by Solar Designer. Also reject work factors 0...3 since all other extant bcrypt implementations require at least work factor 4. Adds more bcrypt tests generated by crypt_bcrypt and OpenBSD's version. | ||||
* | Update and consolidate the test framework. | Jack Lloyd | 2015-11-11 | 1 | -0/+9 |
The tests previously had used 4 to 6 different schemes internally (the vec file reader framework, Catch, the old InSiTo Boost.Test tests, the PK/BigInt tests which escaped the rewrite in 1.11.7, plus a number of one-offs). Converge on a design that works everywhere, and update all the things. Fix also a few bugs found by the test changes: SHA-512-256 name incorrect, OpenSSL RC4 name incorrect, signature of FFI function botan_pubkey_destroy was wrong. |