1 # We make separate GOAL variables for each algorithm, to make it easy to
2 # switch each to the Legacy provider when needed.
4 $DSA_GOAL=../../libimplementations.a
5 $EC_GOAL=../../libimplementations.a
6 $SM2SIG_GOAL=../../libimplementations.a
8 IF[{- !$disabled{dsa} -}]
9 SOURCE[$DSA_GOAL]=dsa.c
12 IF[{- !$disabled{ec} -}]
13 SOURCE[$EC_GOAL]=eddsa.c ecdsa.c
16 IF[{- !$disabled{sm2} -}]
17 SOURCE[$SM2SIG_GOAL]=sm2sig.c
20 SOURCE[../../libfips.a]=rsa.c
21 SOURCE[../../libnonfips.a]=rsa.c
23 DEPEND[rsa.o]=../../common/include/prov/der_rsa.h
24 DEPEND[dsa.o]=../../common/include/prov/der_dsa.h
25 DEPEND[ecdsa.o]=../../common/include/prov/der_ec.h
26 DEPEND[eddsa.o]=../../common/include/prov/der_ecx.h
27 DEPEND[sm2sig.o]=../../common/include/prov/der_sm2.h
29 SOURCE[../../libfips.a]=mac_legacy.c
30 SOURCE[../../libnonfips.a]=mac_legacy.c