2016-01-30 06:33:10 +08:00
|
|
|
LIBS=../../libcrypto
|
2019-06-17 04:21:50 +08:00
|
|
|
|
|
|
|
$CHACHAASM=chacha_enc.c
|
|
|
|
IF[{- !$disabled{asm} -}]
|
|
|
|
$CHACHAASM_x86=chacha-x86.s
|
|
|
|
$CHACHAASM_x86_64=chacha-x86_64.s
|
|
|
|
|
|
|
|
$CHACHAASM_ia64=chacha-ia64.S
|
|
|
|
|
|
|
|
$CHACHAASM_s390x=chacha-s390x.S
|
|
|
|
|
|
|
|
$CHACHAASM_armv4=chacha-armv4.S
|
|
|
|
$CHACHAASM_aarch64=chacha-armv8.S
|
|
|
|
|
|
|
|
$CHACHAASM_ppc32=chacha-ppc.s
|
|
|
|
$CHACHAASM_ppc64=$CHACHAASM_ppc32
|
|
|
|
|
|
|
|
$CHACHAASM_c64xplus=chacha-c64xplus.s
|
|
|
|
|
|
|
|
# Now that we have defined all the arch specific variables, use the
|
|
|
|
# appropriate one
|
|
|
|
IF[$CHACHAASM_{- $target{asm_arch} -}]
|
|
|
|
$CHACHAASM=$CHACHAASM_{- $target{asm_arch} -}
|
|
|
|
ENDIF
|
|
|
|
ENDIF
|
|
|
|
|
|
|
|
SOURCE[../../libcrypto]=$CHACHAASM
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[chacha-x86.s]=asm/chacha-x86.pl
|
|
|
|
GENERATE[chacha-x86_64.s]=asm/chacha-x86_64.pl
|
|
|
|
GENERATE[chacha-ppc.s]=asm/chacha-ppc.pl
|
|
|
|
GENERATE[chacha-armv4.S]=asm/chacha-armv4.pl
|
2016-03-11 20:44:46 +08:00
|
|
|
INCLUDE[chacha-armv4.o]=..
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[chacha-armv8.S]=asm/chacha-armv8.pl
|
2016-03-11 20:44:46 +08:00
|
|
|
INCLUDE[chacha-armv8.o]=..
|
2018-08-04 06:10:06 +08:00
|
|
|
INCLUDE[chacha-s390x.o]=..
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[chacha-c64xplus.S]=asm/chacha-c64xplus.pl
|
|
|
|
GENERATE[chacha-s390x.S]=asm/chacha-s390x.pl
|
|
|
|
GENERATE[chacha-ia64.S]=asm/chacha-ia64.pl
|