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$GMAC_GOAL=../../libdefault.a ../../libfips.a
5$HMAC_GOAL=../../libdefault.a ../../libfips.a
6$KMAC_GOAL=../../libdefault.a ../../libfips.a
7$CMAC_GOAL=../../libdefault.a ../../libfips.a
8$BLAKE2_GOAL=../../libdefault.a
9$SIPHASH_GOAL=../../libdefault.a
10$POLY1305_GOAL=../../libdefault.a
11
12SOURCE[$GMAC_GOAL]=gmac_prov.c
13SOURCE[$HMAC_GOAL]=hmac_prov.c
14SOURCE[$KMAC_GOAL]=kmac_prov.c
15
16IF[{- !$disabled{cmac} -}]
17  SOURCE[$CMAC_GOAL]=cmac_prov.c
18ENDIF
19
20IF[{- !$disabled{blake2} -}]
21  SOURCE[$BLAKE2_GOAL]=blake2b_mac.c blake2s_mac.c
22ENDIF
23
24IF[{- !$disabled{siphash} -}]
25  SOURCE[$SIPHASH_GOAL]=siphash_prov.c
26ENDIF
27
28IF[{- !$disabled{poly1305} -}]
29  SOURCE[$POLY1305_GOAL]=poly1305_prov.c
30ENDIF
31