2019-10-04 10:24:09 +02:00
|
|
|
# We make separate GOAL variables for each algorithm, to make it easy to
|
|
|
|
# switch each to the Legacy provider when needed.
|
|
|
|
|
|
|
|
$DSA_GOAL=../../libimplementations.a
|
2020-03-05 15:42:13 +00:00
|
|
|
$EC_GOAL=../../libimplementations.a
|
2020-03-04 23:49:43 +08:00
|
|
|
$SM2SIG_GOAL=../../libimplementations.a
|
2019-10-04 10:24:09 +02:00
|
|
|
|
|
|
|
IF[{- !$disabled{dsa} -}]
|
2020-08-29 18:03:17 +10:00
|
|
|
SOURCE[$DSA_GOAL]=dsa.c
|
2019-10-04 10:24:09 +02:00
|
|
|
ENDIF
|
|
|
|
|
2020-03-05 15:42:13 +00:00
|
|
|
IF[{- !$disabled{ec} -}]
|
2020-08-29 18:03:17 +10:00
|
|
|
SOURCE[$EC_GOAL]=eddsa.c ecdsa.c
|
2020-03-05 15:42:13 +00:00
|
|
|
ENDIF
|
|
|
|
|
2020-03-04 23:49:43 +08:00
|
|
|
IF[{- !$disabled{sm2} -}]
|
|
|
|
SOURCE[$SM2SIG_GOAL]=sm2sig.c
|
|
|
|
ENDIF
|
|
|
|
|
2020-03-15 17:38:00 +10:00
|
|
|
SOURCE[../../libfips.a]=rsa.c
|
|
|
|
SOURCE[../../libnonfips.a]=rsa.c
|
2020-03-31 17:15:17 +02:00
|
|
|
|
|
|
|
DEPEND[rsa.o]=../../common/include/prov/der_rsa.h
|
2020-03-31 17:16:59 +02:00
|
|
|
DEPEND[dsa.o]=../../common/include/prov/der_dsa.h
|
2020-03-31 17:20:24 +02:00
|
|
|
DEPEND[ecdsa.o]=../../common/include/prov/der_ec.h
|
2020-09-15 16:20:51 +01:00
|
|
|
DEPEND[eddsa.o]=../../common/include/prov/der_ecx.h
|
2020-03-04 23:49:43 +08:00
|
|
|
DEPEND[sm2sig.o]=../../common/include/prov/der_sm2.h
|
2020-08-07 16:42:02 +01:00
|
|
|
|
2020-08-17 15:14:14 +01:00
|
|
|
SOURCE[../../libfips.a]=mac_legacy.c
|
|
|
|
SOURCE[../../libnonfips.a]=mac_legacy.c
|