1e1051a39Sopenharmony_ciLIBS=../../libcrypto
2e1051a39Sopenharmony_ci
3e1051a39Sopenharmony_ci$RMD160ASM=
4e1051a39Sopenharmony_ciIF[{- !$disabled{asm} -}]
5e1051a39Sopenharmony_ci  $RMD160ASM_x86=rmd-586.S
6e1051a39Sopenharmony_ci
7e1051a39Sopenharmony_ci  # Now that we have defined all the arch specific variables, use the
8e1051a39Sopenharmony_ci  # appropriate one, and define the appropriate macros
9e1051a39Sopenharmony_ci  IF[$RMD160ASM_{- $target{asm_arch} -}]
10e1051a39Sopenharmony_ci    $RMD160ASM=$RMD160ASM_{- $target{asm_arch} -}
11e1051a39Sopenharmony_ci    $RMD160DEF=RMD160_ASM
12e1051a39Sopenharmony_ci  ENDIF
13e1051a39Sopenharmony_ciENDIF
14e1051a39Sopenharmony_ci
15e1051a39Sopenharmony_ci# Implementations are now spread across several libraries, so the defines
16e1051a39Sopenharmony_ci# need to be applied to all affected libraries and modules
17e1051a39Sopenharmony_ci
18e1051a39Sopenharmony_ciSOURCE[../../libcrypto]=rmd_dgst.c rmd_one.c $RMD160ASM
19e1051a39Sopenharmony_ciDEFINE[../../libcrypto]=$RMD160DEF
20e1051a39Sopenharmony_ci
21e1051a39Sopenharmony_ci# When all deprecated symbols are removed, libcrypto doesn't export the
22e1051a39Sopenharmony_ci# RIPEMD160 functions, so we must include them directly in liblegacy.a
23e1051a39Sopenharmony_ciIF[{- $disabled{'deprecated-3.0'} && !$disabled{module} && !$disabled{shared} -}]
24e1051a39Sopenharmony_ci  SOURCE[../../providers/liblegacy.a]=rmd_dgst.c rmd_one.c $RMD160ASM
25e1051a39Sopenharmony_ci  DEFINE[../../providers/liblegacy.a]=$RMD160DEF
26e1051a39Sopenharmony_ciENDIF
27e1051a39Sopenharmony_ci
28e1051a39Sopenharmony_ciGENERATE[rmd-586.S]=asm/rmd-586.pl
29e1051a39Sopenharmony_ciDEPEND[rmd-586.S]=../perlasm/x86asm.pl
30