/[base]
ViewVC logotype

Revision 263218


Jump to revision: Previous Next
Author: jmg
Date: Sun Mar 16 01:43:23 2014 UTC (10 years, 3 months ago)
Changed paths: 7
Log Message:
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@


Changed paths

Path Details
Directoryhead/lib/libcrypt/Makefile modified , text changed
Directoryhead/lib/libmd/Makefile modified , text changed
Directoryhead/sys/conf/files modified , text changed
Directoryhead/sys/crypto/sha2/sha2.c modified , text changed
Directoryhead/sys/crypto/sha2/sha2.h modified , text changed
Directoryhead/sys/crypto/sha2/sha256.h modified , text changed
Directoryhead/sys/crypto/sha2/sha256c.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27