aboutsummaryrefslogtreecommitdiff
path: root/secure/lib/libcrypto/Makefile.asm
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/Makefile.asm')
-rw-r--r--secure/lib/libcrypto/Makefile.asm50
1 files changed, 33 insertions, 17 deletions
diff --git a/secure/lib/libcrypto/Makefile.asm b/secure/lib/libcrypto/Makefile.asm
index d4f7269aa500..14465c414a61 100644
--- a/secure/lib/libcrypto/Makefile.asm
+++ b/secure/lib/libcrypto/Makefile.asm
@@ -12,9 +12,12 @@
${LCRYPTO_SRC}/crypto/bn/asm \
${LCRYPTO_SRC}/crypto/chacha/asm \
${LCRYPTO_SRC}/crypto/ec/asm \
+ ${LCRYPTO_SRC}/crypto/md5/asm \
${LCRYPTO_SRC}/crypto/modes/asm \
${LCRYPTO_SRC}/crypto/poly1305/asm \
- ${LCRYPTO_SRC}/crypto/sha/asm
+ ${LCRYPTO_SRC}/crypto/sha/asm \
+ ${LCRYPTO_SRC}/crypto/sm3/asm \
+ ${LCRYPTO_SRC}/crypto/sm4/asm
PERLPATH= -I${LCRYPTO_SRC}/crypto/perlasm
@@ -22,19 +25,22 @@ PERLPATH= -I${LCRYPTO_SRC}/crypto/perlasm
SRCS= arm64cpuid.pl
# aes
-SRCS+= aesv8-armx.pl vpaes-armv8.pl
+SRCS+= aesv8-armx.pl bsaes-armv8.pl vpaes-armv8.pl
# bn
SRCS+= armv8-mont.pl
# chacha
-SRCS+= chacha-armv8.pl
+SRCS+= chacha-armv8.pl chacha-armv8-sve.pl
# ec
-SRCS+= ecp_nistz256-armv8.pl
+SRCS+= ecp_nistz256-armv8.pl ecp_sm2p256-armv8.pl
+
+# md5
+SRCS+= md5-aarch64.pl
# modes
-SRCS+= ghashv8-armx.pl aes-gcm-armv8_64.S
+SRCS+= ghashv8-armx.pl aes-gcm-armv8_64.pl aes-gcm-armv8-unroll8_64.pl
# poly1305
SRCS+= poly1305-armv8.pl
@@ -42,6 +48,12 @@ SRCS+= poly1305-armv8.pl
# sha
SRCS+= keccak1600-armv8.pl sha1-armv8.pl sha512-armv8.pl
+# sm3
+SRCS+= sm3-armv8.pl
+
+# sm4
+SRCS+= sm4-armv8.pl vpsm4-armv8.pl vpsm4_ex-armv8.pl
+
ASM= ${SRCS:R:S/$/.S/} sha256-armv8.S
all: ${ASM}
@@ -83,11 +95,14 @@ SRCS= x86_64cpuid.pl
# aes
SRCS+= aes-x86_64.pl \
aesni-mb-x86_64.pl aesni-sha1-x86_64.pl aesni-sha256-x86_64.pl \
- aesni-x86_64.pl bsaes-x86_64.pl vpaes-x86_64.pl
+ aesni-x86_64.pl aesni-xts-avx512.pl bsaes-x86_64.pl vpaes-x86_64.pl
# bn
-SRCS+= rsaz-avx2.pl rsaz-avx512.pl rsaz-x86_64.pl x86_64-gf2m.pl \
- x86_64-mont.pl x86_64-mont5.pl
+SRCS+= rsaz-avx2.pl rsaz-x86_64.pl \
+ rsaz-2k-avx512.pl rsaz-2k-avxifma.pl \
+ rsaz-3k-avx512.pl rsaz-3k-avxifma.pl \
+ rsaz-4k-avx512.pl rsaz-4k-avxifma.pl \
+ x86_64-gf2m.pl x86_64-mont.pl x86_64-mont5.pl
# camellia
SRCS+= cmll-x86_64.pl
@@ -102,7 +117,7 @@ SRCS+= ecp_nistz256-x86_64.pl x25519-x86_64.pl
SRCS+= md5-x86_64.pl
# modes
-SRCS+= aesni-gcm-x86_64.pl ghash-x86_64.pl
+SRCS+= aes-gcm-avx512.pl aesni-gcm-x86_64.pl ghash-x86_64.pl
# poly1305
SRCS+= poly1305-x86_64.pl
@@ -314,10 +329,10 @@ SRCS+= aes-ppc.pl vpaes-ppc.pl aesp8-ppc.pl
SRCS+= sha1-ppc.pl sha512-ppc.pl sha512p8-ppc.pl
#modes
-SRCS+= ghashp8-ppc.pl
+SRCS+= aes-gcm-ppc.pl ghashp8-ppc.pl
#chacha
-SRCS+= chacha-ppc.pl
+SRCS+= chacha-ppc.pl chachap10-ppc.pl
#poly1305
SRCS+= poly1305-ppc.pl poly1305-ppcfp.pl
@@ -376,16 +391,17 @@ SRCS+= aes-ppc.pl vpaes-ppc.pl aesp8-ppc.pl
SRCS+= sha1-ppc.pl sha512-ppc.pl sha512p8-ppc.pl
#modes
-SRCS+= ghashp8-ppc.pl
+SRCS+= aes-gcm-ppc.pl ghashp8-ppc.pl
#chacha
-SRCS+= chacha-ppc.pl
+SRCS+= chacha-ppc.pl chachap10-ppc.pl
#poly1305
SRCS+= poly1305-ppc.pl poly1305-ppcfp.pl
#ec
-SRCS+= ecp_nistp521-ppc64.pl ecp_nistz256-ppc64.pl x25519-ppc64.pl
+SRCS+= ecp_nistp384-ppc64.pl ecp_nistp521-ppc64.pl ecp_nistz256-ppc64.pl x25519-ppc64.pl
+
#keccak1600
SRCS+= keccak1600-ppc64.pl
@@ -444,16 +460,16 @@ SRCS+= aes-ppc.pl vpaes-ppc.pl aesp8-ppc.pl
SRCS+= sha1-ppc.pl sha512-ppc.pl sha512p8-ppc.pl
#modes
-SRCS+= ghashp8-ppc.pl
+SRCS+= aes-gcm-ppc.pl ghashp8-ppc.pl
#chacha
-SRCS+= chacha-ppc.pl
+SRCS+= chacha-ppc.pl chachap10-ppc.pl
#poly1305
SRCS+= poly1305-ppc.pl poly1305-ppcfp.pl
#ec
-SRCS+= ecp_nistp521-ppc64.pl ecp_nistz256-ppc64.pl x25519-ppc64.pl
+SRCS+= ecp_nistp384-ppc64.pl ecp_nistp521-ppc64.pl ecp_nistz256-ppc64.pl x25519-ppc64.pl
#keccak1600
SRCS+= keccak1600-ppc64.pl