1e1051a39Sopenharmony_ci# We make separate GOAL variables for each algorithm, to make it easy to
2e1051a39Sopenharmony_ci# switch each to the Legacy provider when needed.
3e1051a39Sopenharmony_ci
4e1051a39Sopenharmony_ci$RSA_GOAL=../../libdefault.a ../../libfips.a
5e1051a39Sopenharmony_ci$SM2_GOAL=../../libdefault.a
6e1051a39Sopenharmony_ci
7e1051a39Sopenharmony_ciSOURCE[$RSA_GOAL]=rsa_enc.c
8e1051a39Sopenharmony_ci
9e1051a39Sopenharmony_ciIF[{- !$disabled{"sm2"} -}]
10e1051a39Sopenharmony_ci  SOURCE[$SM2_GOAL]=sm2_enc.c
11e1051a39Sopenharmony_ciENDIF
12