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$ENCODER_GOAL=../../libdefault.a
5$DECODER_GOAL=../../libdefault.a
6
7SOURCE[$ENCODER_GOAL]=endecoder_common.c
8
9SOURCE[$DECODER_GOAL]=decode_der2key.c decode_epki2pki.c decode_pem2der.c \
10                      decode_msblob2key.c decode_pvk2key.c \
11                      decode_spki2typespki.c
12
13SOURCE[$ENCODER_GOAL]=encode_key2any.c encode_key2text.c encode_key2ms.c
14# encode_key2blob.c is only being included when EC is enabled, because we
15# currently only define a "blob" output type for EC public keys.  This may
16# change in the future.
17IF[{- !$disabled{ec} -}]
18  SOURCE[$ENCODER_GOAL]=encode_key2blob.c
19ENDIF
20DEPEND[encode_key2any.o]=../../common/include/prov/der_rsa.h
21