]> git.ipfire.org Git - thirdparty/openssl.git/blob - providers/implementations/keymgmt/build.info
Improve code reuse in the provider MAC bridge
[thirdparty/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 $KDF_GOAL=../../libimplementations.a
9
10 IF[{- !$disabled{dh} -}]
11 SOURCE[$DH_GOAL]=dh_kmgmt.c
12 ENDIF
13 IF[{- !$disabled{dsa} -}]
14 SOURCE[$DSA_GOAL]=dsa_kmgmt.c
15 ENDIF
16 IF[{- !$disabled{ec} -}]
17 SOURCE[$EC_GOAL]=ec_kmgmt.c
18 ENDIF
19
20 IF[{- !$disabled{asm} -}]
21 $ECDEF_s390x=S390X_EC_ASM
22
23 # Now that we have defined all the arch specific variables, use the
24 # appropriate one, and define the appropriate macros
25 IF[$ECASM_{- $target{asm_arch} -}]
26 $ECDEF=$ECDEF_{- $target{asm_arch} -}
27 ENDIF
28 ENDIF
29
30 IF[{- !$disabled{ec} -}]
31 SOURCE[$ECX_GOAL]=ecx_kmgmt.c
32 DEFINE[$ECX_GOAL]=$ECDEF
33 ENDIF
34
35 SOURCE[../../libfips.a]=rsa_kmgmt.c
36 SOURCE[../../libnonfips.a]=rsa_kmgmt.c
37
38 SOURCE[$KDF_GOAL]=kdf_legacy_kmgmt.c
39
40 SOURCE[../../libfips.a]=mac_legacy_kmgmt.c
41 SOURCE[../../libnonfips.a]=mac_legacy_kmgmt.c