crypto/*/build.info: make it work on ARM platforms.
authorAndy Polyakov <appro@openssl.org>
Fri, 11 Mar 2016 12:44:46 +0000 (13:44 +0100)
committerAndy Polyakov <appro@openssl.org>
Fri, 11 Mar 2016 14:30:57 +0000 (15:30 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/aes/build.info
crypto/build.info
crypto/chacha/build.info
crypto/ec/build.info
crypto/modes/build.info
crypto/poly1305/build.info
crypto/sha/build.info

index fe1dd15f56181446498ad41af2f14a76bc58b19a..ca34a28d0fe6a124cbd2cb88b8f181e510090e33 100644 (file)
@@ -38,6 +38,10 @@ GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl $(PERLASM_SCHEME)
 INCLUDE[aesv8-armx.o]=..
 GENERATE[vpaes-armv8.S]=asm/vpaes-armv8.pl $(PERLASM_SCHEME)
 
+GENERATE[aes-armv4.S]=asm/aes-armv4.pl $(PERLASM_SCHEME)
+INCLUDE[aes-armv4.o]=..
+GENERATE[bsaes-armv7.S]=asm/bsaes-armv7.pl $(PERLASM_SCHEME)
+INCLUDE[bsaes-armv7.o]=..
 
 BEGINRAW[Makefile]
 ##### AES assembler implementations
@@ -49,5 +53,3 @@ BEGINRAW[Makefile]
        CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
 
 ENDRAW[Makefile]
-INCLUDE[aes-armv4.o]=..
-INCLUDE[bsaes-armv7.o]=..
index d465d9d1fcb5875c48b9fbe2a6c7b45fb53ff083..939339bcb0d3bcd9d97207199ba69b58519aa733 100644 (file)
@@ -26,4 +26,6 @@ GENERATE[ppccpuid.s]=ppccpuid.pl $(PERLASM_SCHEM
 GENERATE[pariscid.s]=pariscid.pl $(PERLASM_SCHEM
 GENERATE[alphacpuid.s]=alphacpuid.pl
 GENERATE[arm64cpuid.S]=arm64cpuid.pl $(PERLASM_SCHEME)
+INCLUDE[arm64cpuid.o]=.
 GENERATE[armv4cpuid.S]=armv4cpuid.pl $(PERLASM_SCHEME)
+INCLUDE[armv4cpuid.o]=.
index 28c221f93d9e08575dc347039adb3d07c7ada209..41e996727d01077a8de8686bae142776e235c6b3 100644 (file)
@@ -4,6 +4,10 @@ SOURCE[../../libcrypto]={- $target{chacha_asm_src} -}
 GENERATE[chacha-x86.s]=asm/chacha-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR)
 GENERATE[chacha-x86_64.s]=asm/chacha-x86_64.pl $(PERLASM_SCHEME)
 GENERATE[chacha-ppc.s]=asm/chacha-ppc.pl $(PERLASM_SCHEME)
+GENERATE[chacha-armv4.S]=asm/chacha-armv4.pl $(PERLASM_SCHEME)
+INCLUDE[chacha-armv4.o]=..
+GENERATE[chacha-armv8.S]=asm/chacha-armv8.pl $(PERLASM_SCHEME)
+INCLUDE[chacha-armv8.o]=..
 
 BEGINRAW[Makefile(unix)]
 ##### CHACHA assembler implementations
@@ -11,5 +15,3 @@ BEGINRAW[Makefile(unix)]
 {- $builddir -}/chacha-%.S:    {- $sourcedir -}/asm/chacha-%.pl
        CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
 ENDRAW[Makefile(unix)]
-INCLUDE[chacha-armv4.o]=..
-INCLUDE[chacha-armv8.o]=..
index 0290141df02014edf0626bea8f98fbabedf111cf..157fd33cae24b46347b6e405c00f9950b248d8d9 100644 (file)
@@ -17,10 +17,12 @@ GENERATE[ecp_nistz256-avx2.s]=asm/ecp_nistz256-avx2.pl $(PERLASM_SCHEME)
 GENERATE[ecp_nistz256-sparcv9.S]=asm/ecp_nistz256-sparcv9.pl $(PERLASM_SCHEME)
 INCLUDE[ecp_nistz256-sparcv9.o]=..
 
+GENERATE[ecp_nistz256-armv4.S]=asm/ecp_nistz256-armv4.pl $(PERLASM_SCHEME)
+INCLUDE[ecp_nistz256-armv4.o]=..
+GENERATE[ecp_nistz256-armv8.S]=asm/ecp_nistz256-armv8.pl $(PERLASM_SCHEME)
+INCLUDE[ecp_nistz256-armv8.o]=..
+
 BEGINRAW[Makefile]
 {- $builddir -}/ecp_nistz256-%.S:      {- $sourcedir -}/asm/ecp_nistz256-%.pl
        CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
 ENDRAW[Makefile]
-
-INCLUDE[ecp_nistz256-armv4.o]=..
-INCLUDE[ecp_nistz256-armv8.o]=..
index b20154da17e6450f8c0d244f1b444f42080a9383..1c12b78e854886efad9716708e21547a7f0712b5 100644 (file)
@@ -14,13 +14,14 @@ GENERATE[ghash-sparcv9.S]=asm/ghash-sparcv9.pl $(PERLASM_SCHEME)
 INCLUDE[ghash-sparcv9.o]=..
 GENERATE[ghash-alpha.s]=asm/ghash-alpha.pl
 GENERATE[ghash-parisc.s]=asm/ghash-parisc.pl $(PERLASM_SCHEME)
-GENERATE[ghashv8-armx.S]=asm/ghashv8-armx.pl $(PERLASM_SCHEME)
 GENERATE[ghashp8-ppc.s]=asm/ghashp8-ppc.pl $(PERLASM_SCHEME)
+GENERATE[ghash-armv4.S]=asm/ghash-armv4.pl $(PERLASM_SCHEME)
+INCLUDE[ghash-armv4.o]=..
+GENERATE[ghashv8-armx.S]=asm/ghashv8-armx.pl $(PERLASM_SCHEME)
+INCLUDE[ghashv8-armx.o]=..
 
 BEGINRAW[Makefile]
 # GNU make "catch all"
 {- $builddir -}/ghash-%.S:     {- $sourcedir -}/asm/ghash-%.pl
        CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
 ENDRAW[Makefile]
-INCLUDE[ghash-armv4.o]=..
-INCLUDE[ghashv8-armx.o]=..
index d5d72ecb38a9b2cf30cc780e5e6bc3b4ae6fddc0..de0f577e69c31d7085ec9ae8ae7c5b0d85b365d0 100644 (file)
@@ -8,10 +8,12 @@ GENERATE[poly1305-x86.s]=asm/poly1305-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCE
 GENERATE[poly1305-x86_64.s]=asm/poly1305-x86_64.pl $(PERLASM_SCHEME)
 GENERATE[poly1305-ppc.s]=asm/poly1305-ppc.pl $(PERLASM_SCHEME)
 GENERATE[poly1305-ppcfp.s]=asm/poly1305-ppcfp.pl $(PERLASM_SCHEME)
+GENERATE[poly1305-armv4.S]=asm/poly1305-armv4.pl $(PERLASM_SCHEME)
+INCLUDE[poly1305-armv4.o]=..
+GENERATE[poly1305-armv8.S]=asm/poly1305-armv8.pl $(PERLASM_SCHEME)
+INCLUDE[poly1305-armv8.o]=..
 
 BEGINRAW[Makefile(unix)]
 {- $builddir -}/poly1305-%.S:  {- $sourcedir -}/asm/poly1305-%.pl
        CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
 ENDRAW[Makefile(unix)]
-INCLUDE[poly1305-armv4.o]=..
-INCLUDE[poly1305-armv8.o]=..
index 136d0ee2cf2e9d1d9639b461519de1d6b5954215..5e2cd712e8ee4ef8a4148234bc17f91112b4386f 100644 (file)
@@ -13,8 +13,6 @@ GENERATE[sha1-ia64.s]=sha1-ia64.pl $(CFLAGS)
 GENERATE[sha256-ia64.s]=sha512-ia64.pl $(CFLAGS)
 GENERATE[sha512-ia64.s]=sha512-ia64.pl $(CFLAGS)
 
-GENERATE[sha256-armv4.S]=asm/sha256-armv4.pl $(PERLASM_SCHEME)
-
 GENERATE[sha1-alpha.s]=asm/sha1-alpha.pl
 
 GENERATE[sha1-x86_64.s]=asm/sha1-x86_64.pl $(PERLASM_SCHEME)
@@ -44,6 +42,20 @@ GENERATE[sha1-mips.S]=asm/sha1-mips.pl $(PERLASM_SCHEME)
 GENERATE[sha256-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME)
 GENERATE[sha512-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME)
 
+GENERATE[sha1-armv4-large.S]=asm/sha1-armv4-large.pl $(PERLASM_SCHEME)
+INCLUDE[sha1-armv4-large.o]=..
+GENERATE[sha256-armv4.S]=asm/sha256-armv4.pl $(PERLASM_SCHEME)
+INCLUDE[sha256-armv4.o]=..
+GENERATE[sha512-armv4.S]=asm/sha512-armv4.pl $(PERLASM_SCHEME)
+INCLUDE[sha512-armv4.o]=..
+
+GENERATE[sha1-armv8.S]=asm/sha1-armv8.pl $(PERLASM_SCHEME)
+INCLUDE[sha1-armv8.o]=..
+GENERATE[sha256-armv8.S]=asm/sha512-armv8.pl $(PERLASM_SCHEME)
+INCLUDE[sha256-armv8.o]=..
+GENERATE[sha512-armv8.S]=asm/sha512-armv8.pl $(PERLASM_SCHEME)
+INCLUDE[sha512-armv8.o]=..
+
 BEGINRAW[Makefile(unix)]
 ##### SHA assembler implementations
 
@@ -55,9 +67,3 @@ BEGINRAW[Makefile(unix)]
 {- $builddir -}/sha512-%.S:    {- $sourcedir -}/asm/sha512-%.pl
        CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
 ENDRAW[Makefile(unix)]
-INCLUDE[sha1-armv4-large.o]=..
-INCLUDE[sha1-armv8.o]=..
-INCLUDE[sha256-armv4.o]=..
-INCLUDE[sha256-armv8.o]=..
-INCLUDE[sha512-armv4.o]=..
-INCLUDE[sha512-armv8.o]=..