build.info 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # We make separate GOAL variables for each algorithm, to make it easy to
  2. # switch each to the Legacy provider when needed.
  3. $DH_GOAL=../../libdefault.a ../../libfips.a
  4. $DSA_GOAL=../../libdefault.a ../../libfips.a
  5. $EC_GOAL=../../libdefault.a ../../libfips.a
  6. $ECX_GOAL=../../libdefault.a ../../libfips.a
  7. $KDF_GOAL=../../libdefault.a ../../libfips.a
  8. $MAC_GOAL=../../libdefault.a ../../libfips.a
  9. $RSA_GOAL=../../libdefault.a ../../libfips.a
  10. IF[{- !$disabled{dh} -}]
  11. SOURCE[$DH_GOAL]=dh_kmgmt.c
  12. ENDIF
  13. IF[{- !$disabled{dsa} -}]
  14. SOURCE[$DSA_GOAL]=dsa_kmgmt.c
  15. ENDIF
  16. IF[{- !$disabled{ec} -}]
  17. SOURCE[$EC_GOAL]=ec_kmgmt.c
  18. ENDIF
  19. IF[{- !$disabled{asm} -}]
  20. $ECDEF_s390x=S390X_EC_ASM
  21. # Now that we have defined all the arch specific variables, use the
  22. # appropriate one, and define the appropriate macros
  23. IF[$ECASM_{- $target{asm_arch} -}]
  24. $ECDEF=$ECDEF_{- $target{asm_arch} -}
  25. ENDIF
  26. ENDIF
  27. IF[{- !$disabled{ec} -}]
  28. SOURCE[$ECX_GOAL]=ecx_kmgmt.c
  29. DEFINE[$ECX_GOAL]=$ECDEF
  30. ENDIF
  31. SOURCE[$RSA_GOAL]=rsa_kmgmt.c
  32. SOURCE[$KDF_GOAL]=kdf_legacy_kmgmt.c
  33. SOURCE[$MAC_GOAL]=mac_legacy_kmgmt.c