#
315724 |
|
22-Mar-2017 |
bdrewery |
MFC r314709,r314790,r314794:
r314709: Fix bootstrapping mtree after r313404 for older systems. r314790: Added comments for why nmtree/libmd are bootstrapped. r314794: Fix bootstrapping libmd on older systems after r314709.
PR: 217673
|
#
313538 |
|
10-Feb-2017 |
ngie |
MFC r312452-r312512:
r312452-r312512:
- Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output
- Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
300921 |
|
28-May-2016 |
allanjude |
Import the skein hashing algorithm, based on the threefish block cipher
Connect it to userland (libmd, libcrypt, sbin/md5) and kernel (crypto.ko)
Support for skein as a ZFS checksum algorithm was introduced in r289422 but is disconnected because FreeBSD lacked a Skein implementation.
A further commit will enable it in ZFS.
Reviewed by: cem Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D6166
|
#
300903 |
|
28-May-2016 |
allanjude |
Implement SHA-512 truncated (224 and 256 bits)
This implements SHA-512/256, which generates a 256 bit hash by calculating the SHA-512 then truncating the result. A different initial value is used, making the result different from the first 256 bits of the SHA-512 of the same input. SHA-512 is ~50% faster than SHA-256 on 64bit platforms, so the result is a faster 256 bit hash.
The main goal of this implementation is to enable support for this faster hashing algorithm in ZFS. The feature was introduced into ZFS in r289422, but is disconnected because SHA-512/256 support was missing. A further commit will enable it in ZFS.
This is the follow on to r292782
Reviewed by: cem Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D6061
|
#
298107 |
|
16-Apr-2016 |
gjb |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
|
#
292782 |
|
27-Dec-2015 |
allanjude |
Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c
cperciva's libmd implementation is 5-30% faster
The same was done for SHA256 previously in r263218
cperciva's implementation was lacking SHA-384 which I implemented, validated against OpenSSL and the NIST documentation
Extend sbin/md5 to create sha384(1)
Chase dependancies on sys/crypto/sha2/sha2.{c,h} and replace them with sha512{c.c,.h}
Reviewed by: cperciva, des, delphij Approved by: secteam, bapt (mentor) MFC after: 2 weeks Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3929
|
#
285417 |
|
12-Jul-2015 |
rodrigc |
Add new include path for sha256.h
This fixes the bootstrap build on FreeBSD 10.
Submitted by: andrew
|
#
284421 |
|
15-Jun-2015 |
bapt |
Revert r284417 it is not necessary anymore
|
#
284417 |
|
15-Jun-2015 |
bapt |
Enforce overwritting SHLIBDIR
Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere.
This makes /lib being populated again.
Reported by: many
|
#
282774 |
|
11-May-2015 |
thomas |
Unbreak MIPS build following rev. 282726
Introduce further adjustments to the renaming of libmd symbols: make sure that we do not generate dangling weak aliases, as this causes build failures on MIPS.
Tested by: sbruno
|
#
263218 |
|
15-Mar-2014 |
jmg |
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@
|
#
234746 |
|
28-Apr-2012 |
obrien |
Remove the RFC 1319 MD2 Message-Digest Algorithm routines from libmd.
1. The licensing terms for the MD2 routines from RFC is not under a BSD-like license. Instead it is only granted for non-commercial Internet Privacy-Enhanced Mail. 2. MD2 is quite deprecated as it is no longer considered a cryptographically strong algorithm.
Discussed with: so (cperciva), core
|
#
220496 |
|
09-Apr-2011 |
markm |
Add SHA512 (Actually, this is Colin Percival's code for SHA256, with relevant constants changed).
While I'm here clean up the tests and Makefile.
PR: misc/124164 Submitted by: KIMURA Yasuhiro < yasu utahime org > MFC after: 1 month
|
#
218723 |
|
15-Feb-2011 |
dim |
Fix some leftover binaries and shared libraries in the system that still have an executable stack, due to linking in hand-assembled .S or .s files, that have no .GNU-stack sections:
RWX --- --- /lib/libcrypto.so.6 RWX --- --- /lib/libmd.so.5 RWX --- --- /lib/libz.so.6 RWX --- --- /lib/libzpool.so.2 RWX --- --- /usr/lib/liblzma.so.5
These were found using scanelf, from the sysutils/pax-utils port.
Reviewed by: kib
|
#
201381 |
|
02-Jan-2010 |
ed |
Build lib/ with WARNS=6 by default.
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.
|
#
185568 |
|
02-Dec-2008 |
phk |
Make the "test" target test the compiled version, instead of the installed version of the md library.
|
#
143334 |
|
09-Mar-2005 |
cperciva |
In light of the recent 2^69 operation collision-finding attack on SHA1, add support for SHA256.
Tested on: i386, sparc64 Tested using: NIST test vectors, built-in tests X-MFC-after: 5.4-RELEASE
|
#
126267 |
|
26-Feb-2004 |
bde |
Backed out rev.1.6 and subsequent copying of it (bogus addition of -static to CFLAGS). It just turned rev.1.5 into an obfuscated no-op. As explained in the log for rev.1.5, testing should be done in the host environment but there is a problem in cross-compilation environments. As not explained in the log for rev.1.6, there was apparently a practical problem with cross-compiling (makeworld should have set -static in LDFLAGS but apparently didn't). Cross-compilation was especially complicated because the relevant programs are test programs that were run at beforeinstall time -- dynamic libraries might or might not exist depending on the build options. The complications became moot in rev.1.8 when beforeinstall was renamed "test".
|
#
119071 |
|
18-Aug-2003 |
obrien |
style.Makefile(5)
|
#
119017 |
|
17-Aug-2003 |
gordon |
Stage 3 of dynamic root support. Make all the libraries needed to run 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.
|
#
103436 |
|
16-Sep-2002 |
peter |
Initiate deorbit burn for the i386-only a.out related support. Moves are under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that.
Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now.
Tested on: i386 (extensively), alpha
|
#
94367 |
|
10-Apr-2002 |
ru |
Don't build manuals at inappropriate time. Collapse generation of md[245].3 manpages.
|
#
74870 |
|
27-Mar-2001 |
ru |
MAN[1-9] -> MAN.
|
#
74385 |
|
17-Mar-2001 |
phk |
Add a new entrypoint to the hashes in libmd: char * FooFileChunk(const char *filename, char *buf, off_t offset, off_t length) Which only hashes part of a file. Implement FooFile() in terms of this function.
Submitted by: roam
|
#
55955 |
|
14-Jan-2000 |
rgrimes |
Replace beforeinstall target with new variables used by .mk system.
Reviewed by: marcel, and make world
|
#
50476 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
44437 |
|
02-Mar-1999 |
ache |
add more MLINKS
|
#
44356 |
|
01-Mar-1999 |
wollman |
Don't even attempt to build the assembly-language versions of RIPEMD160 and SHA-1 when OBJFORMAT is not ELF. Add a warning to the man page about how SHA-1 uses bswapl, which will trap on 80386es (and the kernel should, but doesn't currently, emulate).
|
#
44301 |
|
26-Feb-1999 |
wollman |
Add Eric Young's RIPEMD160 implementation as well, in case SHA-1 should prove weak. Also fix a few problems with the SHA-1 build.
|
#
44290 |
|
26-Feb-1999 |
wollman |
Fix bug in MDx test suite. Add Eric Young's SHA-[01] implementations.
|
#
41106 |
|
12-Nov-1998 |
jdp |
Build libmd shared for a.out too. Required for some PAM modules.
|
#
39063 |
|
11-Sep-1998 |
imp |
$@ -> ${.TARGET}
|
#
38632 |
|
29-Aug-1998 |
jb |
BINFORMAT -> OBJFORMAT ready for E-day.
|
#
34685 |
|
19-Mar-1998 |
bde |
Don't use the beforedepend target. It was a no-op here except for helping bsd.dep.mk break `make -jN depend'.
|
#
29142 |
|
05-Sep-1997 |
peter |
If not building a.out, still build a pic version of libmd. This allows things like libskey.so to be dynamically self contained.
Things like md5(1) where speed is critical should still link with libmd.a, but for things like login, where it's a once-off call if skey is used, it's not worth the hassle.
|
#
22993 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
17931 |
|
29-Aug-1996 |
peter |
cmp -s || install -c ==> install -C, use a .for loop
|
#
14007 |
|
09-Feb-1996 |
phk |
Don't install mdX.3, it's the template used to build the other pages.
|
#
14005 |
|
09-Feb-1996 |
phk |
Bill was a little to fast here...
|
#
14003 |
|
09-Feb-1996 |
mpp |
Add some missing MLINKS, correct some cross references, correct some file locations and some minor formatting/style problems.
|
#
13987 |
|
08-Feb-1996 |
mpp |
Added some missing MLINKS for section 3 man pages. Also corrected a few minor formatting errors, file location and cross references in some of the section 3 man pages.
This shuts up a lot of the output from "manck" for section 3.
|
#
10591 |
|
06-Sep-1995 |
dg |
Back out that last change; we don't build this shared.
|
#
10590 |
|
06-Sep-1995 |
dg |
Bumped shared lib rev to 2.1.
|
#
9970 |
|
06-Aug-1995 |
bde |
Change `install' to `${INSTALL}' so that default install flags can be specified in the top level Makefiles.
Previously I missed dozens of Makefiles that skip the install after using `cmp -s' to decide that the install isn't necessary.
|
#
9488 |
|
12-Jul-1995 |
phk |
Change this to do what it should have done from the start. Add argument for buffer for output. Fix manuals.
|
#
8870 |
|
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
#
5820 |
|
23-Jan-1995 |
jkh |
Eliminate a bogus tab.
|
#
4043 |
|
01-Nov-1994 |
pst |
Clean up beforeinstall
|
#
2882 |
|
19-Sep-1994 |
phk |
Added beforeinstall rule to install .h files. We might need some .mk support for this kind of thing. Look at src/Makefile target "includes".
|
#
2848 |
|
18-Sep-1994 |
phk |
libmd no longer built as shared-lib, only static. Renamed the beforeinstall to test.
|
#
2577 |
|
08-Sep-1994 |
bde |
Build *.3 and *.ref at build time, not at install time.
|
#
2487 |
|
04-Sep-1994 |
jkh |
Make mddriver static. Submitted by: jkh
|
#
2368 |
|
28-Aug-1994 |
bde |
Use ${LDFLAGS} instead of static for compiling binaries. Neither is sufficient for cross compiling but it's best to test with the flags normally used.
Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
|
#
2274 |
|
25-Aug-1994 |
paul |
Added ${.CURDIRb to vuilding of man pages so it works with obj
Submitted by: Paul Richards
|
#
1964 |
|
08-Aug-1994 |
jkh |
Boy, was *this* ever bollixed!
1. Copyright files looked for in the wrong place
2. cmp was looking in wrong place for test data.
3. Driver for test not linked static, thus dynamic resolution of library not working.
4. Man page installation not consistent with source.
Reviewed by: Submitted by: jkh
|
#
1846 |
|
04-Aug-1994 |
wollman |
Make obj directory work right. md?hl.c should probably be deleted, but I'll leave that up to PHK.
|
#
1803 |
|
24-Jul-1994 |
phk |
This commit was generated by cvs2svn to compensate for changes in r1802, which included commits to RCS files with non-trunk default branches.
|
#
1802 |
|
24-Jul-1994 |
phk |
Reviewed by: phk Imported libmd. This library contains MD2, MD4 and MD5. These three boggers pop up all over the place all of the time, so I decided we needed a library with them. In general they are used for security checks, so if you use them you want to link them static.
|