svn commit: r263218 - in head: lib/libcrypt lib/libmd sys/conf sys/crypto/sha2
John-Mark Gurney
jmg at funkthat.com
Sun Mar 16 21:15:10 UTC 2014
Mark Murray wrote this message on Sun, Mar 16, 2014 at 17:24 +0000:
> I haven?t looked at this closely, but if you?ve dropped support for sha256, then sys/dev/random/... can?t use it :-(
Please read closer... To many things would break if sha256 was really
removed...
> On 16 Mar 2014, at 01:43, John-Mark Gurney <jmg at FreeBSD.org> wrote:
> > 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...
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the svn-src-all
mailing list