2016-01-30 06:33:10 +08:00
|
|
|
LIBS=../../libcrypto
|
2019-06-17 03:50:39 +08:00
|
|
|
|
|
|
|
$RC4ASM=rc4_enc.c rc4_skey.c
|
|
|
|
IF[{- !$disabled{asm} -}]
|
2022-05-20 04:09:50 +08:00
|
|
|
$RC4ASM_x86=rc4-586.S
|
2019-06-17 03:50:39 +08:00
|
|
|
$RC4ASM_x86_64=rc4-x86_64.s rc4-md5-x86_64.s
|
|
|
|
$RC4ASM_s390x=rc4-s390x.s
|
|
|
|
$RC4ASM_parisc11=rc4-parisc.s
|
|
|
|
$RC4ASM_parisc20_64=$RC4ASM_parisc11
|
|
|
|
$RC4ASM_c64xplus=rc4-c64xplus.s
|
|
|
|
|
|
|
|
# Now that we have defined all the arch specific variables, use the
|
|
|
|
# appropriate one, and define the appropriate macros
|
|
|
|
IF[$RC4ASM_{- $target{asm_arch} -}]
|
|
|
|
$RC4ASM=$RC4ASM_{- $target{asm_arch} -}
|
|
|
|
$RC4DEF=RC4_ASM
|
|
|
|
ENDIF
|
|
|
|
ENDIF
|
|
|
|
|
|
|
|
SOURCE[../../libcrypto]=$RC4ASM
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2020-04-09 10:47:46 +08:00
|
|
|
# When all deprecated symbols are removed, libcrypto doesn't export the
|
|
|
|
# rc4 functions, so we must include them directly in liblegacy.a
|
|
|
|
IF[{- $disabled{'deprecated-3.0'} -}]
|
|
|
|
SOURCE[../../providers/liblegacy.a]=$RC4ASM
|
|
|
|
ENDIF
|
|
|
|
|
2022-05-20 04:09:50 +08:00
|
|
|
GENERATE[rc4-586.S]=asm/rc4-586.pl
|
|
|
|
DEPEND[rc4-586.S]=../perlasm/x86asm.pl
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[rc4-x86_64.s]=asm/rc4-x86_64.pl
|
|
|
|
GENERATE[rc4-md5-x86_64.s]=asm/rc4-md5-x86_64.pl
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[rc4-parisc.s]=asm/rc4-parisc.pl
|
|
|
|
GENERATE[rc4-c64xplus.s]=asm/rc4-c64xplus.pl
|
|
|
|
GENERATE[rc4-s390x.s]=asm/rc4-s390x.pl
|