diff options
author | John-Mark Gurney <jmg@FreeBSD.org> | 2014-03-16 01:43:23 +0000 |
---|---|---|
committer | John-Mark Gurney <jmg@FreeBSD.org> | 2014-03-16 01:43:23 +0000 |
commit | 8083f14fc2267ab70ecd34b28e670378e100ce96 (patch) | |
tree | 56bc384af92f8f4eeb6c01c3445b5b7a33bbe50e /sbin/mdconfig | |
parent | 4692f5ba267775ca730c1819a43636d82ee6b6e8 (diff) | |
download | src-8083f14fc2267ab70ecd34b28e670378e100ce96.tar.gz src-8083f14fc2267ab70ecd34b28e670378e100ce96.zip |
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@
Notes
Notes:
svn path=/head/; revision=263218
Diffstat (limited to 'sbin/mdconfig')
0 files changed, 0 insertions, 0 deletions