build.info 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. IF[{- !$disabled{ecx} -}]
  29. SOURCE[$ECX_GOAL]=ecx_kmgmt.c
  30. DEFINE[$ECX_GOAL]=$ECDEF
  31. ENDIF
  32. ENDIF
  33. SOURCE[$RSA_GOAL]=rsa_kmgmt.c
  34. SOURCE[$KDF_GOAL]=kdf_legacy_kmgmt.c
  35. SOURCE[$MAC_GOAL]=mac_legacy_kmgmt.c