1 # We make separate GOAL variables for each algorithm, to make it easy to
2 # switch each to the Legacy provider when needed.
4 $DH_GOAL=../../libimplementations.a
5 $ECX_GOAL=../../libimplementations.a
7 IF[{- !$disabled{dh} -}]
8 SOURCE[$DH_GOAL]=dh_exch.c
11 IF[{- !$disabled{asm} -}]
12 $ECDEF_s390x=S390X_EC_ASM
14 # Now that we have defined all the arch specific variables, use the
15 # appropriate one, and define the appropriate macros
16 IF[$ECASM_{- $target{asm_arch} -}]
17 $ECDEF=$ECDEF_{- $target{asm_arch} -}
21 IF[{- !$disabled{ec} -}]
22 SOURCE[$ECX_GOAL]=ecx_exch.c
23 DEFINE[$ECX_GOAL]=$ECDEF