Make the naming scheme for dispatched functions more consistent
[openssl.git] / providers / implementations / keymgmt / build.info
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=../../libimplementations.a
5 $DSA_GOAL=../../libimplementations.a
6 $EC_GOAL=../../libimplementations.a
7 $ECX_GOAL=../../libimplementations.a
8
9 IF[{- !$disabled{dh} -}]
10   SOURCE[$DH_GOAL]=dh_kmgmt.c
11 ENDIF
12 IF[{- !$disabled{dsa} -}]
13   SOURCE[$DSA_GOAL]=dsa_kmgmt.c
14 ENDIF
15 IF[{- !$disabled{ec} -}]
16   SOURCE[$EC_GOAL]=ec_kmgmt.c
17 ENDIF
18
19 IF[{- !$disabled{asm} -}]
20   $ECDEF_s390x=S390X_EC_ASM
21
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} -}
26   ENDIF
27 ENDIF
28
29 IF[{- !$disabled{ec} -}]
30   SOURCE[$ECX_GOAL]=ecx_kmgmt.c
31   DEFINE[$ECX_GOAL]=$ECDEF
32 ENDIF
33
34 SOURCE[../../libfips.a]=rsa_kmgmt.c
35 SOURCE[../../libnonfips.a]=rsa_kmgmt.c