1# We make separate GOAL variables for each algorithm, to make it easy to 2# switch each to the Legacy provider when needed. 3 4$DH_GOAL=../../libdefault.a ../../libfips.a 5$ECDH_GOAL=../../libdefault.a ../../libfips.a 6$ECX_GOAL=../../libdefault.a ../../libfips.a 7$KDF_GOAL=../../libdefault.a ../../libfips.a 8 9IF[{- !$disabled{dh} -}] 10 SOURCE[$DH_GOAL]=dh_exch.c 11ENDIF 12 13IF[{- !$disabled{asm} -}] 14 $ECDEF_s390x=S390X_EC_ASM 15 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} -} 20 ENDIF 21ENDIF 22 23IF[{- !$disabled{ec} -}] 24 IF[{- !$disabled{ecx} -}] 25 SOURCE[$ECX_GOAL]=ecx_exch.c 26 DEFINE[$ECX_GOAL]=$ECDEF 27 ENDIF 28 SOURCE[$ECDH_GOAL]=ecdh_exch.c 29ENDIF 30 31SOURCE[$KDF_GOAL]=kdf_exch.c 32