xref: /freebsd/crypto/openssl/providers/implementations/exchange/build.info (revision da5432eda807c4b7232d030d5157d5b417ea4f52)
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$ECDH_GOAL=../../libdefault.a ../../libfips.a
6$ECX_GOAL=../../libdefault.a ../../libfips.a
7$KDF_GOAL=../../libdefault.a ../../libfips.a
8
9IF[{- !$disabled{dh} -}]
10  SOURCE[$DH_GOAL]=dh_exch.c
11ENDIF
12
13IF[{- !$disabled{asm} -}]
14  $ECDEF_s390x=S390X_EC_ASM
15
16  # Now that we have defined all the arch specific variables, use the
17  # appropriate one, and define the appropriate macros
18  IF[$ECASM_{- $target{asm_arch} -}]
19    $ECDEF=$ECDEF_{- $target{asm_arch} -}
20  ENDIF
21ENDIF
22
23IF[{- !$disabled{ec} -}]
24  SOURCE[$ECX_GOAL]=ecx_exch.c
25  DEFINE[$ECX_GOAL]=$ECDEF
26  SOURCE[$ECDH_GOAL]=ecdh_exch.c
27ENDIF
28
29SOURCE[$KDF_GOAL]=kdf_exch.c
30