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$RSA_KEM_GOAL=../../libdefault.a ../../libfips.a
5$EC_KEM_GOAL=../../libdefault.a
6$TEMPLATE_KEM_GOAL=../../libtemplate.a
7
8SOURCE[$RSA_KEM_GOAL]=rsa_kem.c
9
10IF[{- !$disabled{ec} -}]
11  SOURCE[$EC_KEM_GOAL]=kem_util.c ec_kem.c
12  IF[{- !$disabled{ecx} -}]
13    SOURCE[$EC_KEM_GOAL]=ecx_kem.c
14  ENDIF
15ENDIF
16
17SOURCE[$TEMPLATE_KEM_GOAL]=template_kem.c
18