1 # We make separate GOAL variables for each algorithm, to make it easy to
2 # switch each to the Legacy provider when needed.
4 $ENCODER_GOAL=../../libimplementations.a
5 $DECODER_GOAL=../../libimplementations.a
6 $RSA_GOAL=../../libimplementations.a
7 $FFC_GOAL=../../libimplementations.a
8 $DH_GOAL=../../libimplementations.a
9 $DSA_GOAL=../../libimplementations.a
10 $ECX_GOAL=../../libimplementations.a
11 $EC_GOAL=../../libimplementations.a
13 SOURCE[$ENCODER_GOAL]=endecoder_common.c
15 SOURCE[$DECODER_GOAL]=decode_der2key.c decode_pem2der.c decode_ms2key.c
17 SOURCE[$ENCODER_GOAL]=encode_key2any.c encode_key2text.c encode_key2ms.c
18 # encode_key2blob.c is only being included when EC is enabled, because we
19 # currently only define a "blob" output type for EC public keys. This may
20 # change in the future.
21 IF[{- !$disabled{ec} -}]
22 SOURCE[$ENCODER_GOAL]=encode_key2blob.c
24 DEPEND[encode_key2any.o]=../../common/include/prov/der_rsa.h