summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypt/crypt-blowfish.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r265995:delphij2014-05-281-1/+1
| | | | | | Switch using the new $2b$ format by default, when bcrypt is used. Relnotes: default Blowfish crypt(3) format have been changed to $2b$.
* MFC r262501:delphij2014-03-271-33/+52
| | | | | | | | | | | | | | | | | | Refresh our implementation of OpenBSD's Blowfish password format. Notable changes: - Support of $2b$ password format to address a problem where very long passwords (more than 256 characters, when an integer overflow would happen and cause the length to wrap at 256). - Updated pseudo code in comments to reflect the reality. - Removed our local shortcut of processing magic string and rely on the centralized and tigntened validation. - Diff reduction from upstream. For now we are still generating the older $2a$ format of password but we will migrate to the new format once the format is formally finalized.
* Return NULL on error rather than ":", per the crypt(3) man page.kevlo2012-02-221-6/+5
| | | | Discussed in: http://www.openwall.com/lists/oss-security/2011/11/15/3
* Strip the private blowfish code down to only that which ismarkm2003-06-021-42/+1
| | | | | required to make crypt(3) blowfish "$2a$..." hashes. Lint and warnsify.
* No functional change, but big code cleanup. WARNS, lint(1) and style(9).markm2002-03-061-59/+26
|
* __FBSDID() (second half of src/lib/libcrypt changes)peter2001-10-231-2/+3
|
* Add OpenBSD-style blowfish password hashing. This makes one lessmarkm2001-03-111-0/+380
gratuitous difference between us and our sister project. This was given to me _ages_ ago. May apologies to Paul for the length of time its taken me to commit. Obtained from: Niels Provos <provos@physnet.uni-hamburg.de>/OpenBSD Submitted by: Paul Herman <pherman@frenchfries.net>
OpenPOWER on IntegriCloud