build.info 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. IF[{- !$disabled{module} -}]
  16. $RIPEMD_GOAL=../../libdefault.a ../../liblegacy.a
  17. ELSE
  18. $RIPEMD_GOAL=../../libdefault.a
  19. ENDIF
  20. # This source is common for all digests in all our providers.
  21. SOURCE[$COMMON_GOAL]=digestcommon.c
  22. SOURCE[$SHA2_GOAL]=sha2_prov.c
  23. SOURCE[$SHA3_GOAL]=sha3_prov.c
  24. SOURCE[$NULL_GOAL]=null_prov.c
  25. IF[{- !$disabled{blake2} -}]
  26. SOURCE[$BLAKE2_GOAL]=blake2_prov.c blake2b_prov.c blake2s_prov.c
  27. ENDIF
  28. IF[{- !$disabled{sm3} -}]
  29. SOURCE[$SM3_GOAL]=sm3_prov.c
  30. ENDIF
  31. IF[{- !$disabled{md5} -}]
  32. SOURCE[$MD5_GOAL]=md5_prov.c md5_sha1_prov.c
  33. ENDIF
  34. IF[{- !$disabled{md2} -}]
  35. SOURCE[$MD2_GOAL]=md2_prov.c
  36. ENDIF
  37. IF[{- !$disabled{md4} -}]
  38. SOURCE[$MD4_GOAL]=md4_prov.c
  39. ENDIF
  40. IF[{- !$disabled{mdc2} -}]
  41. SOURCE[$MDC2_GOAL]=mdc2_prov.c
  42. ENDIF
  43. IF[{- !$disabled{whirlpool} -}]
  44. SOURCE[$WHIRLPOOL_GOAL]=wp_prov.c
  45. ENDIF
  46. IF[{- !$disabled{rmd160} -}]
  47. SOURCE[$RIPEMD_GOAL]=ripemd_prov.c
  48. ENDIF