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 $ECDH_GOAL=../../libimplementations.a
6 $ECX_GOAL=../../libimplementations.a
7 $ECDH_GOAL=../../libimplementations.a
8 $KDF_GOAL=../../libimplementations.a
10 IF[{- !$disabled{dh} -}]
11 SOURCE[$DH_GOAL]=dh_exch.c
14 IF[{- !$disabled{asm} -}]
15 $ECDEF_s390x=S390X_EC_ASM
17 # Now that we have defined all the arch specific variables, use the
18 # appropriate one, and define the appropriate macros
19 IF[$ECASM_{- $target{asm_arch} -}]
20 $ECDEF=$ECDEF_{- $target{asm_arch} -}
24 IF[{- !$disabled{ec} -}]
25 SOURCE[$ECX_GOAL]=ecx_exch.c
26 DEFINE[$ECX_GOAL]=$ECDEF
27 SOURCE[$ECDH_GOAL]=ecdh_exch.c
30 SOURCE[$KDF_GOAL]=kdf_exch.c