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