• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LIBS=../../libcrypto
2
3$RC4ASM=rc4_enc.c rc4_skey.c
4IF[{- !$disabled{asm} -}]
5  $RC4ASM_x86=rc4-586.S
6  $RC4ASM_x86_64=rc4-x86_64.s rc4-md5-x86_64.s
7  $RC4ASM_s390x=rc4-s390x.s
8  $RC4ASM_parisc11=rc4-parisc.s
9  $RC4ASM_parisc20_64=$RC4ASM_parisc11
10  $RC4ASM_c64xplus=rc4-c64xplus.s
11
12  # Now that we have defined all the arch specific variables, use the
13  # appropriate one, and define the appropriate macros
14  IF[$RC4ASM_{- $target{asm_arch} -}]
15    $RC4ASM=$RC4ASM_{- $target{asm_arch} -}
16    $RC4DEF=RC4_ASM
17  ENDIF
18ENDIF
19
20SOURCE[../../libcrypto]=$RC4ASM
21
22# When all deprecated symbols are removed, libcrypto doesn't export the
23# rc4 functions, so we must include them directly in liblegacy.a
24IF[{- $disabled{'deprecated-3.0'} -}]
25  SOURCE[../../providers/liblegacy.a]=$RC4ASM
26ENDIF
27
28GENERATE[rc4-586.S]=asm/rc4-586.pl
29DEPEND[rc4-586.S]=../perlasm/x86asm.pl
30
31GENERATE[rc4-x86_64.s]=asm/rc4-x86_64.pl
32GENERATE[rc4-md5-x86_64.s]=asm/rc4-md5-x86_64.pl
33
34GENERATE[rc4-parisc.s]=asm/rc4-parisc.pl
35GENERATE[rc4-c64xplus.s]=asm/rc4-c64xplus.pl
36GENERATE[rc4-s390x.s]=asm/rc4-s390x.pl
37