summaryrefslogtreecommitdiffstats
path: root/sys/crypto/sha2/sha256c.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r285366:Luiz Otavio O Souza2015-10-201-0/+15
| | | | | | | | | | | Complete the move that was started w/ r263218.. For some reason I didn't delete the files, so that means we need to bring the changes in r282726 to the correct files.. make tinderbox completed with this patch... TAG: IPSEC-HEAD Issue: #4841
* MFC r263218:Luiz Otavio O Souza2015-10-201-0/+4
| | | | | | | | | | | | | | | | | | | | | 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@ TAG: IPSEC-HEAD Issue: #4841
* MFC r263215:Luiz Otavio O Souza2015-10-201-0/+297
copy these files from lib/libmd in preperation for moving these files into the kernel... TAG: IPSEC-HEAD Issue: #4841
OpenPOWER on IntegriCloud