xref: /freebsd/crypto/openssl/providers/implementations/keymgmt/build.info (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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
12IF[{- !$disabled{dh} -}]
13  SOURCE[$DH_GOAL]=dh_kmgmt.c
14ENDIF
15IF[{- !$disabled{dsa} -}]
16  SOURCE[$DSA_GOAL]=dsa_kmgmt.c
17ENDIF
18IF[{- !$disabled{ec} -}]
19  SOURCE[$EC_GOAL]=ec_kmgmt.c
20ENDIF
21
22IF[{- !$disabled{asm} -}]
23  $ECDEF_s390x=S390X_EC_ASM
24
25  # Now that we have defined all the arch specific variables, use the
26  # appropriate one, and define the appropriate macros
27  IF[$ECASM_{- $target{asm_arch} -}]
28    $ECDEF=$ECDEF_{- $target{asm_arch} -}
29  ENDIF
30ENDIF
31
32IF[{- !$disabled{ec} -}]
33  SOURCE[$ECX_GOAL]=ecx_kmgmt.c
34  DEFINE[$ECX_GOAL]=$ECDEF
35ENDIF
36
37SOURCE[$RSA_GOAL]=rsa_kmgmt.c
38
39SOURCE[$KDF_GOAL]=kdf_legacy_kmgmt.c
40
41SOURCE[$MAC_GOAL]=mac_legacy_kmgmt.c
42