]> git.proxmox.com Git - mirror_zfs.git/commit
Remove old or redundant SHA2 files
authorTino Reichardt <milky-zfs@mcmilk.de>
Mon, 27 Feb 2023 15:11:51 +0000 (16:11 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 2 Mar 2023 21:50:21 +0000 (13:50 -0800)
commit3e254aaad0faa91137fc56cbc0b6f9dabb96bb1a
tree46bf387899491f9c37336255a1df4806fa5acca5
parent163f3d3a1fc144f1b9b358cec616d4cba4e87d67
Remove old or redundant SHA2 files

We had three sha2.h headers in different places.
The FreeBSD version, the Linux version and the generic solaris version.

The only assembly used for acceleration was some old x86-64 openssl
implementation for sha256 within the icp module.

For FreeBSD the whole SHA2 files of FreeBSD were copied into OpenZFS,
these files got removed also.

Tested-by: Rich Ercolani <rincebrain@gmail.com>
Tested-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Closes #13741
18 files changed:
include/os/freebsd/Makefile.am
include/os/freebsd/zfs/sys/sha2.h [deleted file]
include/os/linux/Makefile.am
include/os/linux/zfs/sys/sha2.h [deleted file]
lib/libspl/include/sys/sha2.h [deleted file]
module/Kbuild.in
module/Makefile.bsd
module/icp/algs/sha2/sha2.c [deleted file]
module/icp/asm-x86_64/sha2/sha256_impl.S [deleted file]
module/icp/asm-x86_64/sha2/sha512_impl.S [deleted file]
module/icp/include/sha2/sha2_consts.h [deleted file]
module/os/freebsd/spl/sha224.h [deleted file]
module/os/freebsd/spl/sha256.h [deleted file]
module/os/freebsd/spl/sha256c.c [deleted file]
module/os/freebsd/spl/sha384.h [deleted file]
module/os/freebsd/spl/sha512.h [deleted file]
module/os/freebsd/spl/sha512c.c [deleted file]
module/os/freebsd/spl/sha512t.h [deleted file]