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 $DSA_GOAL=../../libimplementations.a
6 $EC_GOAL=../../libimplementations.a
7 $ECX_GOAL=../../libimplementations.a
9 IF[{- !$disabled{dh} -}]
10 SOURCE[$DH_GOAL]=dh_kmgmt.c
12 IF[{- !$disabled{dsa} -}]
13 SOURCE[$DSA_GOAL]=dsa_kmgmt.c
15 IF[{- !$disabled{ec} -}]
16 SOURCE[$EC_GOAL]=ec_kmgmt.c
19 IF[{- !$disabled{asm} -}]
20 $ECDEF_s390x=S390X_EC_ASM
22 # Now that we have defined all the arch specific variables, use the
23 # appropriate one, and define the appropriate macros
24 IF[$ECASM_{- $target{asm_arch} -}]
25 $ECDEF=$ECDEF_{- $target{asm_arch} -}
29 IF[{- !$disabled{ec} -}]
30 SOURCE[$ECX_GOAL]=ecx_kmgmt.c
31 DEFINE[$ECX_GOAL]=$ECDEF
34 SOURCE[../../libfips.a]=rsa_kmgmt.c
35 SOURCE[../../libnonfips.a]=rsa_kmgmt.c