Home | History | Annotate | Line # | Download | only in signature
      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 $DSA_GOAL=../../libdefault.a ../../libfips.a
      5 $EC_GOAL=../../libdefault.a ../../libfips.a
      6 $MAC_GOAL=../../libdefault.a ../../libfips.a
      7 $RSA_GOAL=../../libdefault.a ../../libfips.a
      8 $SM2_GOAL=../../libdefault.a
      9 $ML_DSA_GOAL=../../libdefault.a ../../libfips.a
     10 $SLH_DSA_GOAL=../../libdefault.a ../../libfips.a
     11 
     12 IF[{- !$disabled{dsa} -}]
     13   SOURCE[$DSA_GOAL]=dsa_sig.c
     14 ENDIF
     15 
     16 IF[{- !$disabled{ec} -}]
     17   SOURCE[$EC_GOAL]=ecdsa_sig.c
     18   IF[{- !$disabled{ecx} -}]
     19     SOURCE[$EC_GOAL]=eddsa_sig.c
     20   ENDIF
     21 ENDIF
     22 
     23 IF[{- !$disabled{sm2} -}]
     24   SOURCE[$SM2_GOAL]=sm2_sig.c
     25 ENDIF
     26 
     27 SOURCE[$RSA_GOAL]=rsa_sig.c
     28 
     29 DEPEND[ml_dsa_sig.o]=../../common/include/prov/der_ml_dsa.h
     30 DEPEND[slh_dsa_sig.o]=../../common/include/prov/der_slh_dsa.h
     31 DEPEND[rsa_sig.o]=../../common/include/prov/der_rsa.h
     32 DEPEND[dsa_sig.o]=../../common/include/prov/der_dsa.h
     33 DEPEND[ecdsa_sig.o]=../../common/include/prov/der_ec.h
     34 DEPEND[eddsa_sig.o]=../../common/include/prov/der_ecx.h
     35 DEPEND[sm2_sig.o]=../../common/include/prov/der_sm2.h
     36 
     37 SOURCE[$MAC_GOAL]=mac_legacy_sig.c
     38 
     39 IF[{- !$disabled{'ml-dsa'} -}]
     40   SOURCE[$ML_DSA_GOAL]=ml_dsa_sig.c
     41 ENDIF
     42 
     43 IF[{- !$disabled{'slh-dsa'} -}]
     44   SOURCE[$DSA_GOAL]=slh_dsa_sig.c
     45 ENDIF
     46