summaryrefslogtreecommitdiffstats
path: root/import_openssl.sh
diff options
context:
space:
mode:
authorCatalin Ionita <catalin.ionita@intel.com>2012-09-13 01:20:41 +0300
committerBrian Carlstrom <bdc@google.com>2012-09-12 12:27:44 -0700
commitc58cd0fd2cebb61b0e0f200e01562c542525ef46 (patch)
tree9d111acd77a9488e44b0b8527450028f7509c4b7 /import_openssl.sh
parentfef450d35d0654d04dc142ecbb62b40535f53f47 (diff)
downloadreplicant_openssl-c58cd0fd2cebb61b0e0f200e01562c542525ef46.zip
replicant_openssl-c58cd0fd2cebb61b0e0f200e01562c542525ef46.tar.gz
replicant_openssl-c58cd0fd2cebb61b0e0f200e01562c542525ef46.tar.bz2
Enable openssl crypto optimizations for x86 platform
Asm files attached to this patch were generated from the current OpenSSL version. Change-Id: I05ef67a6e34016ef94a0ef23ca264bcac805b1cc Signed-off-by: Catalin Ionita <catalin.ionita@intel.com>
Diffstat (limited to 'import_openssl.sh')
-rwxr-xr-ximport_openssl.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/import_openssl.sh b/import_openssl.sh
index e4e46c7..0630769 100755
--- a/import_openssl.sh
+++ b/import_openssl.sh
@@ -148,6 +148,23 @@ function import() {
CC=true perl crypto/sha/asm/sha1-mips.pl o32 > crypto/sha/asm/sha1-mips.s
CC=true perl crypto/sha/asm/sha512-mips.pl o32 > crypto/sha/asm/sha256-mips.s
+ # Generate x86 asm
+ perl crypto/aes/asm/aes-586.pl elf > crypto/aes/asm/aes-586.s
+ perl crypto/aes/asm/vpaes-x86.pl elf > crypto/aes/asm/vpaes-x86.s
+ perl crypto/aes/asm/aesni-x86.pl elf > crypto/aes/asm/aesni-x86.s
+ perl crypto/bn/asm/bn-586.pl elf > crypto/bn/asm/bn-586.s
+ perl crypto/bn/asm/co-586.pl elf > crypto/bn/asm/co-586.s
+ perl crypto/bn/asm/x86-mont.pl elf > crypto/bn/asm/x86-mont.s
+ perl crypto/bn/asm/x86-gf2m.pl elf > crypto/bn/asm/x86-gf2m.s
+ perl crypto/modes/asm/ghash-x86.pl elf > crypto/modes/asm/ghash-x86.s
+ perl crypto/sha/asm/sha1-586.pl elf > crypto/sha/asm/sha1-586.s
+ perl crypto/sha/asm/sha256-586.pl elf > crypto/sha/asm/sha256-586.s
+ perl crypto/sha/asm/sha512-586.pl elf > crypto/sha/asm/sha512-586.s
+ perl crypto/md5/asm/md5-586.pl elf > crypto/md5/asm/md5-586.s
+ perl crypto/des/asm/des-586.pl elf > crypto/des/asm/des-586.s
+ perl crypto/des/asm/crypt586.pl elf > crypto/des/asm/crypt586.s
+ perl crypto/bf/asm/bf-586.pl elf > crypto/bf/asm/bf-586.s
+
# Setup android.testssl directory
mkdir android.testssl
cat test/testssl | \