HomeFreeBSD

Add linux sha2 support

Description

Add linux sha2 support

The upstream ZFS code has correctly moved to a faster native sha2
implementation. Unfortunately, under Linux that's going to be a little
problematic so we revert the code to the more portable version contained
in earlier ZFS releases. Using the native sha2 implementation in Linux
is possible but the API is slightly different in kernel version user
space depending on which libraries are used. Ideally, we need a fast
implementation of SHA256 which builds as part of ZFS this shouldn't be
that hard to do but it will take some effort.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Aug 26 2010, 6:52 PM
Parents
rGa26baf285f71: Add linux libspl support
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG9c905c550bb9: Add linux sha2 support (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Aug 31 2010, 8:41 PM