build.info 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # We make separate GOAL variables for each algorithm, to make it easy to
  2. # switch each to the Legacy provider when needed.
  3. $COMMON_GOAL=../../libcommon.a
  4. $SHA1_GOAL=../../libdefault.a ../../libfips.a
  5. $SHA2_GOAL=../../libdefault.a ../../libfips.a
  6. $SHA3_GOAL=../../libdefault.a ../../libfips.a
  7. $BLAKE2_GOAL=../../libdefault.a
  8. $SM3_GOAL=../../libdefault.a
  9. $MD5_GOAL=../../libdefault.a
  10. $NULL_GOAL=../../libdefault.a
  11. $MD2_GOAL=../../liblegacy.a
  12. $MD4_GOAL=../../liblegacy.a
  13. $MDC2_GOAL=../../liblegacy.a
  14. $WHIRLPOOL_GOAL=../../liblegacy.a
  15. $RIPEMD_GOAL=../../liblegacy.a
  16. # This source is common for all digests in all our providers.
  17. SOURCE[$COMMON_GOAL]=digestcommon.c
  18. SOURCE[$SHA2_GOAL]=sha2_prov.c
  19. SOURCE[$SHA3_GOAL]=sha3_prov.c
  20. SOURCE[$NULL_GOAL]=null_prov.c
  21. IF[{- !$disabled{blake2} -}]
  22. SOURCE[$BLAKE2_GOAL]=blake2_prov.c blake2b_prov.c blake2s_prov.c
  23. ENDIF
  24. IF[{- !$disabled{sm3} -}]
  25. SOURCE[$SM3_GOAL]=sm3_prov.c
  26. ENDIF
  27. IF[{- !$disabled{md5} -}]
  28. SOURCE[$MD5_GOAL]=md5_prov.c md5_sha1_prov.c
  29. ENDIF
  30. IF[{- !$disabled{md2} -}]
  31. SOURCE[$MD2_GOAL]=md2_prov.c
  32. ENDIF
  33. IF[{- !$disabled{md4} -}]
  34. SOURCE[$MD4_GOAL]=md4_prov.c
  35. ENDIF
  36. IF[{- !$disabled{mdc2} -}]
  37. SOURCE[$MDC2_GOAL]=mdc2_prov.c
  38. ENDIF
  39. IF[{- !$disabled{whirlpool} -}]
  40. SOURCE[$WHIRLPOOL_GOAL]=wp_prov.c
  41. ENDIF
  42. IF[{- !$disabled{rmd160} -}]
  43. SOURCE[$RIPEMD_GOAL]=ripemd_prov.c
  44. ENDIF