mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
f4e46b817d
To make this cleaner, decoder_ms2key.c is split into decoder_msblob2key.c and decoder_pvk2key.c. This required a great deal of refactoring of crypto/pem/pvkfmt.c, to make cleaner internal functions that our decoder implementations can use. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14314)
26 lines
967 B
Plaintext
26 lines
967 B
Plaintext
# We make separate GOAL variables for each algorithm, to make it easy to
|
|
# switch each to the Legacy provider when needed.
|
|
|
|
$ENCODER_GOAL=../../libimplementations.a
|
|
$DECODER_GOAL=../../libimplementations.a
|
|
$RSA_GOAL=../../libimplementations.a
|
|
$FFC_GOAL=../../libimplementations.a
|
|
$DH_GOAL=../../libimplementations.a
|
|
$DSA_GOAL=../../libimplementations.a
|
|
$ECX_GOAL=../../libimplementations.a
|
|
$EC_GOAL=../../libimplementations.a
|
|
|
|
SOURCE[$ENCODER_GOAL]=endecoder_common.c
|
|
|
|
SOURCE[$DECODER_GOAL]=decode_der2key.c decode_pem2der.c \
|
|
decode_msblob2key.c decode_pvk2key.c
|
|
|
|
SOURCE[$ENCODER_GOAL]=encode_key2any.c encode_key2text.c encode_key2ms.c
|
|
# encode_key2blob.c is only being included when EC is enabled, because we
|
|
# currently only define a "blob" output type for EC public keys. This may
|
|
# change in the future.
|
|
IF[{- !$disabled{ec} -}]
|
|
SOURCE[$ENCODER_GOAL]=encode_key2blob.c
|
|
ENDIF
|
|
DEPEND[encode_key2any.o]=../../common/include/prov/der_rsa.h
|