summaryrefslogtreecommitdiffstats
path: root/lib/libcrypt
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-101-2/+6
|\
| * MFC r290908,r291615:ngie2015-12-051-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | r290908: Integrate contrib/netbsd-tests/lib/libcrypt/t_crypt.c in to the FreeBSD test suite as lib/libcrypt/crypt_test Sponsored by: EMC / Isilon Storage Division r291615 (by rodrigc): Hack test so that it works on FreeBSD.
* | MFC r263218:Luiz Otavio O Souza2015-10-201-1/+1
|/ | | | | | | | | | | | | | | | | | | | | replace the kernel's version w/ cperciva's implementation... In all my tests, it is faster ~20%, even on an old IXP425 533MHz it is ~45% faster... This is partly due to loop unrolling, so the code size does significantly increase... I do plan on committing a version that rolls up the loops again for smaller code size for embedded systems where size is more important than absolute performance (it'll save ~6k code)... The kernel implementation is now shared w/ userland's libcrypt and libmd... We drop support for sha256 from sha2.c, so now sha2.c only contains sha384 and sha512... Reviewed by: secteam@ TAG: IPSEC-HEAD Issue: #4841
* MFH (r272830): change the hardcoded default back to DESdes2014-10-131-7/+10
| | | | MFH (r272833): remove last vestige of MD5 password hashes
* MFC r270144:ngie2014-08-231-1/+2
| | | | | | | | | | Add LIBCRYPT to DPADD, remove LDFLAGS from LDADD, and sort the Makefile variables This fixes "make checkdpadd" Phabric: D620 Approved by: jmmv (mentor) PR: 192729
* MFH r266813: Don't break the legacy applications which setume2014-06-051-1/+5
| | | | just 2 bytes to salt.
* MFH (r261913): switch default to sha512des2014-05-112-108/+91
| | | | | MFH (r264964): rewrite so DES still works when not the default MFH (r262945): clean up man page
* MFC refactoring of the *.test.mk files.jmmv2014-04-141-1/+1
| | | | | | | | | - r263161 Make bsd.test.mk the only public mk fragment for the building of tests. - r263172 Move FreeBSD Test Suite-specific code to a suite.test.mk file. - r263204 Add some documentation for bsd.test.mk. - r263217 Document support for TAP-compliant Perl test programs. This is "make tinderbox" clean.
* Set up the /usr/tests hierarchy.jmmv2013-12-282-0/+7
| | | | | | | | | | | | | | | | | This is a MFC of the following into stable/10: - r257097 Set up the /usr/tests hierarchy. - r257098 Add missing WITHOUTTESTS file. - r257100 Add a tests(7) manual page. - r257105 Disable WITHTESTS= for now. - r257848 Fix buildworld when WITHTESTS is enabled. - r257850 Subsume the functionality of MKATF into MKTESTS. - r257851 Handle the removal of the test suite when WITHOUTTESTS=yes. - r257852 Install category Kyuafiles from their category directories. - r258232 Install BSD.tests.mtree when MKTESTS is yes. Note that building with WITH_TESTS is still broken at this point (and hence why WITHOUT_TESTS is the set as the default). Subsequent pullups will fix the remaining issues.
* Split and extend bsd.test.mk into {atf,plain,tap}.test.mk.jmmv2013-12-271-1/+1
| | | | | | | | | | | | | | | | | | This is a MFC of: - r256761 Clearly split the logic to build ATF and plain tests apart. - r256762 Add the automatic generation of Atffile files. - r256763 Add the automatic generation of Kyuafile files. - r256764 Plug atf-run into the 'test' target. - r256765 Plug kyua into the 'test' target. - r257096 Move the TESTSBASE definition to bsd.own.mk. - r257099 Add missing plain.test.mk. - r258297 Remove registration of C++ test programs into PROGS. - r258298 Fix the build of plain test programs. - r258551 Install plain.test.mk. - r259208 Add tap.test.mk. Approved by: rpaulo (mentor)
* MFC 256365rpaulo2013-10-121-1/+1
| | | | | | Remove most of the ATF tools and the _atf user. Approved by: re
* Simple unit-tests for libcrypt, to show how easy it is.sjg2012-11-072-0/+64
| | | | Approved by: marcel (mentor)
* Stop using auth_getval() now that it always returns NULL. Instead,des2012-06-123-20/+8
| | | | | | | hardcode the default to what it would be if we didn't hardcode it, i.e. DES if supported and MD5 otherwise. MFC after: 3 weeks
* mdoc: minor Bl improvements.joel2012-06-021-1/+1
|
* Make the item numbers match the crypt magic numbereadler2012-04-111-0/+2
| | | | | | | PR: docs/166497 Submitted by: Mike Kelly <pioto@pioto.org> Approved by: cperciva MFC after: 1 week
* Remove superfluous paragraph macro.joel2012-03-251-4/+0
|
* s/shaN_crypt/crypt_shaN/g to be a more consistent with the existing naming.obrien2011-05-054-14/+14
| | | | Reviewed by: markm
* Protect the reachover built symbols after the SHA256/512 crypt(3) addition.obrien2011-04-271-1/+3
|
* Document SHA256/512 modes.markm2011-04-091-2/+8
| | | | MFC after: 1 month
* Add SHA256/512 ($5$ and $6$) to crypt(3). Used in linux-world, doesn'tmarkm2011-04-096-1/+1009
| | | | | | | | hurt us. PR: misc/124164 Submitted by: KIMURA Yasuhiro < yasu utahime org > MFC after: 1 month
* Build lib/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Bump the version of all non-symbol-versioned shared libraries inkensmith2009-07-191-1/+1
| | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson)
* Bump library versions in preparation for 7.0.deischen2007-05-211-1/+1
| | | | Ok'd by: kan
* cipher(3) is gone.ceri2007-04-041-1/+0
| | | | MFC after: 3 days
* Provide alternate default for SHLIBDIR before bsd.own.mk does this.ru2006-03-181-1/+2
| | | | Reported by: phk
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-1/+3
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Bump the shared library version number of all libraries that have notkensmith2005-07-221-1/+1
| | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
* Fixed the misplaced $FreeBSD$.ru2005-02-091-3/+1
|
* Sort sections.ru2005-01-201-15/+15
|
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* Mechanically kill hard sentence breaks.ru2004-07-021-11/+21
|
* Stage 3 of dynamic root support. Make all the libraries needed to rungordon2003-08-171-0/+1
| | | | | | binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified.
* The .Fn functioncharnier2003-06-081-2/+5
|
* Tidy the code up a fraction. Re-release with a 2-clause BSD licensemarkm2003-06-021-19/+33
| | | | | | with the kind permission of the author/copyright holder. Thanks to: phk
* Add a new hash type. This "NT-hash" is compatible with the passwordmarkm2003-06-025-11/+123
| | | | | | | hashing scheme used in Microsoft's NT machines. IT IS NOT SECURE! DON'T USE IT! This is for the use of competent sysadmins only! Submitted by: Michael Bretterklieber
* Retire the useless NOSECURE knob.des2003-05-191-1/+1
| | | | Approved by: re (scottl)
* english(4) police.schweikh2002-12-271-1/+1
|
* crypt(3) incorrectly documents md5 salt, fixed.trhodes2002-04-091-1/+1
| | | | | | PR: 36782 No objections from: ru MFC after: 3 days
* Fix grammer in comment.phk2002-03-251-1/+1
| | | | Submitted by: Engin Gunduz <engin@ripe.net>
* Modernize my email-address.phk2002-03-251-1/+1
|
* Darn. There is (now was) a signed/unsigned issue that resulted in amarkm2002-03-071-4/+4
| | | | | | very long loop. Reported by: nnd@mail.nsk.ru (Nickolay Dudorov)
* No functional change, but big code cleanup. WARNS, lint(1) and style(9).markm2002-03-064-60/+63
|
* s/crypt_format/crypt_default/ to match reality.ru2001-12-131-1/+1
| | | | | PR: docs/32787 Spotted by: Pete Carah <pete@altadena.net>
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-1/+1
|
* Implement __FBSDID()dillon2001-09-163-11/+7
|
* Remove out-of-date "cannot be exported from USA" notice.markm2001-08-151-2/+0
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-132-6/+0
|
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed punctuation after the last SEE ALSO xref.ru2001-07-101-1/+1
|
OpenPOWER on IntegriCloud