summaryrefslogtreecommitdiffstats
path: root/secure/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixed missing include of <unistd.h> and wrong prototype for setkey().bde2001-02-061-1/+2
|
* Add .Lb libcipherben2001-01-241-1/+3
| | | | | PR: 24434 Submitted by: Bill Cheswick <ches@bell-labs.com>
* Merge into a single US-exportable libcrypt, which only providespeter2000-12-281-73/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | one-way hash functions for authentication purposes. There is no more "set the libcrypt->libXXXcrypt" nightmare. - Undo the libmd.so hack, use -D to hide the md5c.c internals. - Remove the symlink hacks in release/Makefile - the algorthm is set by set_crypt_format() as before. If this is not called, it tries to heuristically figure out the hash format, and if all else fails, it uses the optional auth.conf entry to chose the overall default hash. - Since source has non-hidden crypto in it there may be some issues with having the source it in some countries, so preserve the "secure/*" division. You can still build a des-free libcrypt library if you want to badly enough. This should not be a problem in the US or exporting from the US as freebsd.org had notified BXA some time ago. That makes this stuff re-exportable by anyone. - For consistancy, the default in absence of any other clues is md5. This is to try and minimize POLA across buildworld where folk may suddenly be activating des-crypt()-hash support. Since the des hash may not always be present, it seemed sensible to make the stronger md5 algorithm the default. All things being equal, no functionality is lost. Reviewed-by: jkh (flame-proof suit on)
* Update for OpenSSH 2.3.0.green2000-12-051-2/+3
|
* Fixed a typo from the last commit.ru2000-11-151-1/+1
| | | | Submitted by: Mike Heffner <mheffner@vt.edu>
* Correct some fallout from the semi-automated way I updated the makefile.kris2000-11-141-4/+4
| | | | Submitted by: roberto
* Update for OpenSSL 0.9.6kris2000-11-133-56/+63
|
* Overhaul of the build-time include file generation. Don't break in evp.hkris2000-09-173-47/+32
| | | | | if bootstrapping from a system on which the openssl headers are not already present.
* Update for OpenSSH 2.2.0kris2000-09-101-3/+3
|
* Nuke RSAREF support from orbit.kris2000-09-104-75/+3
| | | | It's the only way to be sure.
* ``Anyone is now free to rub two primes together for their own gratification''kris2000-09-061-1/+1
| | | | | | | | | | -- Unknown Now that the RSA algorithm is released into the public domain, build librsaintl by default unless NO_RSAINTL is set in make.conf. The native OpenSSL implementation of RSA is much faster, doesn't have an artificial keysize limitation, has 30% fewer calories and tastes great!
* Make the temporary file _evp.h instead of evp.h to not conflict withgreen2000-08-242-5/+7
| | | | | | the real evp.h. Reported by: markm
* Generate a new evp.h at build-time instead of install-time to properlygreen2000-08-232-6/+7
| | | | support NFS(ro) installworlds.
* Add working and easy crypt(3)-switching. Yes, we need a whole new APIgreen2000-08-221-0/+1
| | | | | | | | | | | | | | for crypt(3) by now. In any case: Add crypt_set_format(3) + documentation to -lcrypt. Add login_setcryptfmt(3) + documentation to -lutil. Support for switching crypt formats in passwd(8). Support for switching crypt formats in pw(8). The simple synopsis is: edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :) Reviewed by: peter
* Unbreak the OpenSSL headers for those of us who don't/can't use IDEA bygreen2000-08-041-1/+10
| | | | | getting rid of the check for NO_IDEA (in evp.h) completely if it's installed without MAKE_IDEA=YES.
* Be consistant about WITH_ vs MAKE_ flags. We have a precedent of usingpeter2000-07-142-4/+4
| | | | | | | MAKE_foo for things like MAKE_KERBEROS etc. Use that. I managed to confuse myself last time and made make.conf different to the code. ;-( Reported by: Jun Kuriyama <kuriyama@FreeBSD.org>
* Argh. Cut/paste transcription error. Fix syntax of previous commit.peter2000-07-031-1/+1
|
* USA_RESIDENT is forced to YES or NO at the start of Makefile.inc1peter2000-07-031-1/+2
| | | | | | Use that to be the final arbiter of whether or not to build the librsaintl.so plugin for openssl/openssh. Add a magic WANT_RSAINTL flag to force building even if USA_RESIDENT=YES.
* MFI. This is a documentation-only, diffreducing patch, that ifmarkm2000-06-242-1/+18
| | | | | invoked will cause breakage. US Users - DO NOT try to turn on IDEA - the sources are not included.
* Add a new file to SRCSkris2000-06-031-1/+1
|
* /dev/urandom is the default random device, so no use in stateing it here.obrien2000-05-151-4/+1
| | | | Also simplify the conditionals a little.
* This version is slightly better than rev 1.10. There are still missingobrien2000-05-151-10/+8
| | | | | dependencies for openssl/*.h. I cannot reproduce any critical race conditions with this revision.
* Use unadorned `mkdir -p', removing the "test ... ||".obrien2000-05-151-2/+2
| | | | | There are sometimes problems with "&&" and "||" in the `make -j' case, as it appears multiple processes may process parts of the execution line.
* Update for OpenSSH 2.1kris2000-05-151-1/+6
|
* Use the C locale for running date(1).kris2000-04-201-1/+1
| | | | Submitted by: ache
* Update for OpenSSL 0.9.5a and clean up a bit.kris2000-04-134-106/+178
|
* Update for OpenSSL 0.9.5a and clean up a bit.kris2000-04-132-38/+10
| | | | Take responsibility for this makefile again :-)
* * Fix dependancies so that ``make depend'' is not required.obrien2000-04-111-24/+26
| | | | | | * Some style fixes Approved by: kris
* * Fix dependancies so that ``make depend'' is not required.obrien2000-04-111-38/+39
| | | | | | * Some style fixes Approved by: kris
* Add libcrypto to LDADD. This fixes problems seen with e.g. apache-modsslkris2000-04-041-0/+1
| | | | Submitted by: Jim Bloom <bloom@acm.org>
* Add a new function stub to libcrypto() which resolves to a symbol inkris2000-03-131-1/+1
| | | | | | | | | | | the librsa* library and reports which version of the library (OpenSSL/RSAREF) is being used. This is then used in openssh to detect the failure case of RSAREF and a RSA key >1024 bits, to print a more helpful error message than 'rsa_public_encrypt() fai led.' This is a 4.0-RELEASE candidate.
* Build a shared library too - ports expect it.kris2000-03-071-1/+0
| | | | | Reviewed by: peter Approved by: jkh
* Merge from internat.freebsd.org; cleanup stray rsaref glue code referencepeter2000-03-051-4/+0
|
* Resurrect the old libdes manpages (after a repo copy) until we have betterkris2000-03-021-0/+14
| | | | ones.
* Merge from internat.freebsd.org: add libcrypto to librsaUSA's symbol searchpeter2000-03-021-0/+2
| | | | | | | | | path so that ERR_load_strings() is found in certain circumstances involving dlopen(). eg: main program dlopened foo.so which is linked against libcrypto. If libcrypto then dlopens librsaUSA.so, then it's search path doens't find libcrypto (!). One "fix" is to force modules (eg main opening foo.so) to use the RTLD_GLOBAL flag, the other is to explicitly declare dependencies (as done here).
* MFI: stupid typo of mine.markm2000-02-291-1/+1
|
* Add NODESCRYPTLINKS knob to prevent spamming of libcrypt -> libscryptkris2000-02-291-0/+2
| | | | | | | symlinks. The name is against my better judgement, but I defer to ancient tradition here because I'm a nice guy. Reviewed by: -current
* New distribution names.markm2000-02-281-0/+3
|
* Merge from internat.freebsd.org repo, minus change to rsa_eay.c (missing)peter2000-02-265-18/+98
| | | | | | | Reorganize and unify libcrypto's interface so that the RSA implementation is chosen at runtime via dlopen(). This is a checkpoint and may require more tweaks still.
* Merge from internat.freebsd.org; make RSAREF=YES work correctly, althoughpeter2000-02-252-1/+1
| | | | this is not very useful as the US repo is missing bits.
* Create a stub libRSAglue for bsd.port.mk's sakepeter2000-02-252-38/+6
|
* Fold libRSAglue into libcrypto so we don't have to special-casepeter2000-02-253-13/+7
| | | | | all the builds. There is still no actual RSA implementation code in libcrypto or src/* on US code trees.
* Sync with internat; delete a trailing spacepeter2000-02-251-1/+1
|
* Remove port components not needed in 4.n+markm2000-02-241-2/+1
| | | | Submitted by: Half the freaking planet....
* libdes is OBEmarkm2000-02-241-45/+0
|
* Build everything properly. This means:markm2000-02-243-8/+30
| | | | | | | | | | | o Don't b uild libdes. o Crypto is now housed in libcrypto (with a compatability symlink to libdes) o RSA may depend on RSAREF at your locale. o OpenSSH is now a part of the base system.
* Add the OpenSSH userland-building Makefiles.markm2000-02-241-0/+36
|
* Freefall/Internat diff reducer.markm2000-02-241-2/+2
|
* Freefall/Internat diff reducer.markm2000-02-241-2/+5
|
* Freefall/Internat diff reducer.markm2000-02-241-0/+2
|
OpenPOWER on IntegriCloud