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