blob: 80a7b0a724547b2b84dc37ff8bbead27d942472b [file] [log] [blame]
#! /bin/sh
BASEDIR=$(dirname $0)
ASM_DIR=${BASEDIR}/../asm
SRC_DIR=${BASEDIR}/../crypto
# ARM/aarch64
## Ciphers
perl ${SRC_DIR}/fipsmodule/aes/asm/aesv8-armx.pl linux64 ${ASM_DIR}/aes-arm64.S
perl ${SRC_DIR}/chacha/asm/chacha-armv8.pl linux64 ${ASM_DIR}/chacha-arm64.S
## Digests
perl ${SRC_DIR}/fipsmodule/sha/asm/sha1-armv8.pl linux64 ${ASM_DIR}/sha1-arm64.S
perl ${SRC_DIR}/fipsmodule/sha/asm/sha512-armv8.pl linux64 ${ASM_DIR}/sha256-arm64.S
perl ${SRC_DIR}/fipsmodule/sha/asm/sha512-armv8.pl linux64 ${ASM_DIR}/sha512-arm64.S
# Intel/x86-64
## Ciphers
perl ${SRC_DIR}/fipsmodule/aes/asm/aes-x86_64.pl ${ASM_DIR}/aes-x86-64.S
perl ${SRC_DIR}/fipsmodule/aes/asm/aesni-x86_64.pl ${ASM_DIR}/aesni-x86-64.S
perl ${SRC_DIR}/fipsmodule/aes/asm/bsaes-x86_64.pl ${ASM_DIR}/bsaes-x86-64.S
perl ${SRC_DIR}/fipsmodule/aes/asm/vpaes-x86_64.pl ${ASM_DIR}/vpaes-x86-64.S
perl ${SRC_DIR}/chacha/asm/chacha-x86_64.pl ${ASM_DIR}/chacha-x86-64.S
## Digests
perl ${SRC_DIR}/fipsmodule/md5/asm/md5-x86_64.pl ${ASM_DIR}/md5-x86-64.S
perl ${SRC_DIR}/fipsmodule/sha/asm/sha1-x86_64.pl ${ASM_DIR}/sha1-x86-64.S
perl ${SRC_DIR}/fipsmodule/sha/asm/sha512-x86_64.pl ${ASM_DIR}/sha256-x86-64.S
perl ${SRC_DIR}/fipsmodule/sha/asm/sha512-x86_64.pl ${ASM_DIR}/sha512-x86-64.S