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$DSA_GOAL=../../libdefault.a ../../libfips.a 6$EC_GOAL=../../libdefault.a ../../libfips.a 7$ECX_GOAL=../../libdefault.a ../../libfips.a 8$KDF_GOAL=../../libdefault.a ../../libfips.a 9$MAC_GOAL=../../libdefault.a ../../libfips.a 10$RSA_GOAL=../../libdefault.a ../../libfips.a 11$TEMPLATE_GOAL=../../libtemplate.a 12 13IF[{- !$disabled{dh} -}] 14 SOURCE[$DH_GOAL]=dh_kmgmt.c 15ENDIF 16IF[{- !$disabled{dsa} -}] 17 SOURCE[$DSA_GOAL]=dsa_kmgmt.c 18ENDIF 19IF[{- !$disabled{ec} -}] 20 SOURCE[$EC_GOAL]=ec_kmgmt.c 21ENDIF 22 23IF[{- !$disabled{asm} -}] 24 $ECDEF_s390x=S390X_EC_ASM 25 26 # Now that we have defined all the arch specific variables, use the 27 # appropriate one, and define the appropriate macros 28 IF[$ECASM_{- $target{asm_arch} -}] 29 $ECDEF=$ECDEF_{- $target{asm_arch} -} 30 ENDIF 31ENDIF 32 33IF[{- !$disabled{ec} -}] 34 IF[{- !$disabled{ecx} -}] 35 SOURCE[$ECX_GOAL]=ecx_kmgmt.c 36 DEFINE[$ECX_GOAL]=$ECDEF 37 ENDIF 38ENDIF 39 40SOURCE[$RSA_GOAL]=rsa_kmgmt.c 41 42SOURCE[$KDF_GOAL]=kdf_legacy_kmgmt.c 43 44SOURCE[$MAC_GOAL]=mac_legacy_kmgmt.c 45 46SOURCE[$TEMPLATE_GOAL]=template_kmgmt.c 47