Providers: move all digests
[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 $SHA1_GOAL=../../libimplementations.a
5 $SHA2_GOAL=../../libimplementations.a
6 $SHA3_GOAL=../../libimplementations.a
7 $BLAKE2_GOAL=../../libimplementations.a
8 $SM3_GOAL=../../libimplementations.a
9 $MD5_GOAL=../../libimplementations.a
10
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
17 SOURCE[$SHA2_GOAL]=sha2_prov.c
18 SOURCE[$SHA3_GOAL]=sha3_prov.c
19
20 $GOAL=../../libimplementations.a
21
22 IF[{- !$disabled{blake2} -}]
23   SOURCE[$BLAKE2_GOAL]=blake2_prov.c blake2b_prov.c blake2s_prov.c
24 ENDIF
25
26 IF[{- !$disabled{sm3} -}]
27   SOURCE[$SM3_GOAL]=sm3_prov.c
28 ENDIF
29
30 IF[{- !$disabled{md5} -}]
31   SOURCE[$MD5_GOAL]=md5_prov.c md5_sha1_prov.c
32 ENDIF
33
34 IF[{- !$disabled{md2} -}]
35   SOURCE[$MD2_GOAL]=md2_prov.c
36 ENDIF
37
38 IF[{- !$disabled{md4} -}]
39   SOURCE[$MD4_GOAL]=md4_prov.c
40 ENDIF
41
42 IF[{- !$disabled{mdc2} -}]
43   SOURCE[$MDC2_GOAL]=mdc2_prov.c
44 ENDIF
45
46 IF[{- !$disabled{whirlpool} -}]
47   SOURCE[$WHIRLPOOL_GOAL]=wp_prov.c
48 ENDIF
49
50 IF[{- !$disabled{rmd160} -}]
51   SOURCE[$RIPEMD_GOAL]=ripemd_prov.c
52 ENDIF