xref: /openssl/crypto/chacha/build.info (revision 03ce37e1)
1LIBS=../../libcrypto
2
3$CHACHAASM=chacha_enc.c
4IF[{- !$disabled{asm} -}]
5  $CHACHAASM_x86=chacha-x86.S
6  $CHACHAASM_x86_64=chacha-x86_64.s
7
8  $CHACHAASM_ia64=chacha-ia64.s
9
10  $CHACHAASM_s390x=chacha-s390x.S
11
12  $CHACHAASM_armv4=chacha-armv4.S
13  $CHACHAASM_aarch64=chacha-armv8.S chacha-armv8-sve.S
14
15  $CHACHAASM_loongarch64=chacha-loongarch64.S
16
17  $CHACHAASM_ppc32=chacha_ppc.c chacha-ppc.s
18  IF[{- $target{sys_id} ne "AIX" && $target{sys_id} ne "MACOSX" -}]
19    $CHACHAASM_ppc32=chacha_ppc.c chacha-ppc.s chachap10-ppc.s
20  ENDIF
21  $CHACHAASM_ppc64=$CHACHAASM_ppc32
22
23  $CHACHAASM_c64xplus=chacha-c64xplus.s
24
25  $CHACHAASM_riscv64=chacha_riscv.c chacha_enc.c chacha-riscv64-v-zbb.s chacha-riscv64-v-zbb-zvkb.s
26  $CHACHADEF_riscv64=INCLUDE_C_CHACHA20
27
28  # Now that we have defined all the arch specific variables, use the
29  # appropriate one
30  IF[$CHACHAASM_{- $target{asm_arch} -}]
31    $CHACHAASM=$CHACHAASM_{- $target{asm_arch} -}
32    $CHACHADEF=$CHACHADEF_{- $target{asm_arch} -}
33  ENDIF
34ENDIF
35
36SOURCE[../../libcrypto]=$CHACHAASM
37DEFINE[../../libcrypto]=$CHACHADEF
38
39GENERATE[chacha-x86.S]=asm/chacha-x86.pl
40GENERATE[chacha-x86_64.s]=asm/chacha-x86_64.pl
41GENERATE[chacha-ppc.s]=asm/chacha-ppc.pl
42GENERATE[chachap10-ppc.s]=asm/chachap10-ppc.pl
43GENERATE[chacha-armv4.S]=asm/chacha-armv4.pl
44INCLUDE[chacha-armv4.o]=..
45GENERATE[chacha-armv8.S]=asm/chacha-armv8.pl
46GENERATE[chacha-armv8-sve.S]=asm/chacha-armv8-sve.pl
47INCLUDE[chacha-armv8.o]=..
48INCLUDE[chacha-armv8-sve.o]=..
49INCLUDE[chacha-loongarch64.o]=..
50INCLUDE[chacha-s390x.o]=..
51GENERATE[chacha-c64xplus.S]=asm/chacha-c64xplus.pl
52GENERATE[chacha-s390x.S]=asm/chacha-s390x.pl
53GENERATE[chacha-ia64.S]=asm/chacha-ia64.pl
54GENERATE[chacha-ia64.s]=chacha-ia64.S
55GENERATE[chacha-loongarch64.S]=asm/chacha-loongarch64.pl
56GENERATE[chacha-riscv64-v-zbb.s]=asm/chacha-riscv64-v-zbb.pl
57GENERATE[chacha-riscv64-v-zbb-zvkb.s]=asm/chacha-riscv64-v-zbb.pl zvkb
58