3127f9a3e755c274d9077d46431864949a1f0902
[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
8 IF[{- !$disabled{dh} -}]
9   SOURCE[$DH_GOAL]=dh_exch.c
10 ENDIF
11
12 IF[{- !$disabled{asm} -}]
13   $ECDEF_s390x=S390X_EC_ASM
14
15   # Now that we have defined all the arch specific variables, use the
16   # appropriate one, and define the appropriate macros
17   IF[$ECASM_{- $target{asm_arch} -}]
18     $ECDEF=$ECDEF_{- $target{asm_arch} -}
19   ENDIF
20 ENDIF
21
22 IF[{- !$disabled{ec} -}]
23   SOURCE[$ECX_GOAL]=ecx_exch.c
24   DEFINE[$ECX_GOAL]=$ECDEF
25   SOURCE[../../libfips.a]=ecdh_exch.c
26   SOURCE[../../libnonfips.a]=ecdh_exch.c
27 ENDIF