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
6 $ECDH_GOAL=../../libimplementations.a
8 IF[{- !$disabled{dh} -}]
9 SOURCE[$DH_GOAL]=dh_exch.c
12 IF[{- !$disabled{asm} -}]
13 $ECDEF_s390x=S390X_EC_ASM
15 # Now that we have defined all the arch specific variables, use the
16 # appropriate one, and define the appropriate macros
17 IF[$ECASM_{- $target{asm_arch} -}]
18 $ECDEF=$ECDEF_{- $target{asm_arch} -}
22 IF[{- !$disabled{ec} -}]
23 SOURCE[$ECX_GOAL]=ecx_exch.c
24 DEFINE[$ECX_GOAL]=$ECDEF
25 SOURCE[../../libfips.a]=ecdh_exch.c
26 SOURCE[../../libnonfips.a]=ecdh_exch.c