mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
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
This commit is contained in:
committed by
Brian Behlendorf
parent
163f3d3a1f
commit
3e254aaad0
+2
-12
@@ -94,7 +94,6 @@ ICP_OBJS := \
|
||||
algs/modes/gcm.o \
|
||||
algs/modes/gcm_generic.o \
|
||||
algs/modes/modes.o \
|
||||
algs/sha2/sha2.o \
|
||||
algs/skein/skein.o \
|
||||
algs/skein/skein_block.o \
|
||||
algs/skein/skein_iv.o \
|
||||
@@ -122,9 +121,7 @@ ICP_OBJS_X86_64 := \
|
||||
asm-x86_64/blake3/blake3_sse41.o \
|
||||
asm-x86_64/modes/aesni-gcm-x86_64.o \
|
||||
asm-x86_64/modes/gcm_pclmulqdq.o \
|
||||
asm-x86_64/modes/ghash-x86_64.o \
|
||||
asm-x86_64/sha2/sha256_impl.o \
|
||||
asm-x86_64/sha2/sha512_impl.o
|
||||
asm-x86_64/modes/ghash-x86_64.o
|
||||
|
||||
|
||||
ICP_OBJS_X86 := \
|
||||
@@ -159,13 +156,6 @@ $(addprefix $(obj)/icp/,$(ICP_OBJS) $(ICP_OBJS_X86) $(ICP_OBJS_X86_64) \
|
||||
# Suppress objtool "return with modified stack frame" warnings.
|
||||
OBJECT_FILES_NON_STANDARD_aesni-gcm-x86_64.o := y
|
||||
|
||||
# Suppress objtool "unsupported stack pointer realignment" warnings. We are
|
||||
# not using a DRAP register while aligning the stack to a 64 byte boundary.
|
||||
# See #6950 for the reasoning.
|
||||
OBJECT_FILES_NON_STANDARD_sha256_impl.o := y
|
||||
OBJECT_FILES_NON_STANDARD_sha512_impl.o := y
|
||||
|
||||
|
||||
LUA_OBJS := \
|
||||
lapi.o \
|
||||
lauxlib.o \
|
||||
@@ -344,7 +334,7 @@ ZFS_OBJS := \
|
||||
refcount.o \
|
||||
rrwlock.o \
|
||||
sa.o \
|
||||
sha256.o \
|
||||
sha2_zfs.o \
|
||||
skein_zfs.o \
|
||||
spa.o \
|
||||
spa_checkpoint.o \
|
||||
|
||||
Reference in New Issue
Block a user