92932b9d2882a774cb4294e34928253ea1920e4c
[openssl.git] / providers / implementations / exchange / 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 $ECX_GOAL=../../libimplementations.a
6 $ECDH_GOAL=../../libimplementations.a
7 $KDF_GOAL=../../libimplementations.a
8
9 IF[{- !$disabled{dh} -}]
10   SOURCE[$DH_GOAL]=dh_exch.c
11 ENDIF
12
13 IF[{- !$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
21 ENDIF
22
23 IF[{- !$disabled{ec} -}]
24   SOURCE[$ECX_GOAL]=ecx_exch.c
25   DEFINE[$ECX_GOAL]=$ECDEF
26   SOURCE[../../libfips.a]=ecdh_exch.c
27   SOURCE[../../libnonfips.a]=ecdh_exch.c
28 ENDIF
29
30 SOURCE[$KDF_GOAL]=kdf_exch.c