property: reduce memory consumption when OPENSSL_SMALL_FOOTPRINT is defined.
[openssl.git] / providers / implementations / digests / build.info
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
18 $RIPEMD_GOAL=../../liblegacy.a
19
20 # This source is common for all digests in all our providers.
21 SOURCE[$COMMON_GOAL]=digestcommon.c
22
23 SOURCE[$SHA2_GOAL]=sha2_prov.c
24 SOURCE[$SHA3_GOAL]=sha3_prov.c
25
26 SOURCE[$NULL_GOAL]=null_prov.c
27
28 IF[{- !$disabled{blake2} -}]
29   SOURCE[$BLAKE2_GOAL]=blake2_prov.c blake2b_prov.c blake2s_prov.c
30 ENDIF
31
32 IF[{- !$disabled{sm3} -}]
33   SOURCE[$SM3_GOAL]=sm3_prov.c
34 ENDIF
35
36 IF[{- !$disabled{md5} -}]
37   SOURCE[$MD5_GOAL]=md5_prov.c md5_sha1_prov.c
38 ENDIF
39
40 IF[{- !$disabled{md2} -}]
41   SOURCE[$MD2_GOAL]=md2_prov.c
42 ENDIF
43
44 IF[{- !$disabled{md4} -}]
45   SOURCE[$MD4_GOAL]=md4_prov.c
46 ENDIF
47
48 IF[{- !$disabled{mdc2} -}]
49   SOURCE[$MDC2_GOAL]=mdc2_prov.c
50 ENDIF
51
52 IF[{- !$disabled{whirlpool} -}]
53   SOURCE[$WHIRLPOOL_GOAL]=wp_prov.c
54 ENDIF
55
56 IF[{- !$disabled{rmd160} -}]
57   SOURCE[$RIPEMD_GOAL]=ripemd_prov.c
58 ENDIF