Home | History | Annotate | Line # | Download | only in exchange
      1  1.1  christos # We make separate GOAL variables for each algorithm, to make it easy to
      2  1.1  christos # switch each to the Legacy provider when needed.
      3  1.1  christos 
      4  1.1  christos $DH_GOAL=../../libdefault.a ../../libfips.a
      5  1.1  christos $ECDH_GOAL=../../libdefault.a ../../libfips.a
      6  1.1  christos $ECX_GOAL=../../libdefault.a ../../libfips.a
      7  1.1  christos $KDF_GOAL=../../libdefault.a ../../libfips.a
      8  1.1  christos 
      9  1.1  christos IF[{- !$disabled{dh} -}]
     10  1.1  christos   SOURCE[$DH_GOAL]=dh_exch.c
     11  1.1  christos ENDIF
     12  1.1  christos 
     13  1.1  christos IF[{- !$disabled{asm} -}]
     14  1.1  christos   $ECDEF_s390x=S390X_EC_ASM
     15  1.1  christos 
     16  1.1  christos   # Now that we have defined all the arch specific variables, use the
     17  1.1  christos   # appropriate one, and define the appropriate macros
     18  1.1  christos   IF[$ECASM_{- $target{asm_arch} -}]
     19  1.1  christos     $ECDEF=$ECDEF_{- $target{asm_arch} -}
     20  1.1  christos   ENDIF
     21  1.1  christos ENDIF
     22  1.1  christos 
     23  1.1  christos IF[{- !$disabled{ec} -}]
     24  1.1  christos   SOURCE[$ECX_GOAL]=ecx_exch.c
     25  1.1  christos   DEFINE[$ECX_GOAL]=$ECDEF
     26  1.1  christos   SOURCE[$ECDH_GOAL]=ecdh_exch.c
     27  1.1  christos ENDIF
     28  1.1  christos 
     29  1.1  christos SOURCE[$KDF_GOAL]=kdf_exch.c
     30