This required the LMS keymanager to have an export function. The self test will be provided by HSS, which covers the LMS case. Reviewed-by: Hugo Landau <hlandau@devever.net> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github.com/openssl/openssl/pull/25598)
38 lines
1 KiB
Text
38 lines
1 KiB
Text
# We make separate GOAL variables for each algorithm, to make it easy to
|
|
# switch each to the Legacy provider when needed.
|
|
|
|
$DSA_GOAL=../../libdefault.a ../../libfips.a
|
|
$EC_GOAL=../../libdefault.a ../../libfips.a
|
|
$MAC_GOAL=../../libdefault.a ../../libfips.a
|
|
$RSA_GOAL=../../libdefault.a ../../libfips.a
|
|
$SM2_GOAL=../../libdefault.a
|
|
$LMS_GOAL=../../libdefault.a ../../libfips.a
|
|
|
|
IF[{- !$disabled{dsa} -}]
|
|
SOURCE[$DSA_GOAL]=dsa_sig.c
|
|
ENDIF
|
|
|
|
IF[{- !$disabled{ec} -}]
|
|
SOURCE[$EC_GOAL]=ecdsa_sig.c
|
|
IF[{- !$disabled{ecx} -}]
|
|
SOURCE[$EC_GOAL]=eddsa_sig.c
|
|
ENDIF
|
|
ENDIF
|
|
|
|
IF[{- !$disabled{sm2} -}]
|
|
SOURCE[$SM2_GOAL]=sm2_sig.c
|
|
ENDIF
|
|
|
|
SOURCE[$RSA_GOAL]=rsa_sig.c
|
|
|
|
DEPEND[rsa_sig.o]=../../common/include/prov/der_rsa.h
|
|
DEPEND[dsa_sig.o]=../../common/include/prov/der_dsa.h
|
|
DEPEND[ecdsa_sig.o]=../../common/include/prov/der_ec.h
|
|
DEPEND[eddsa_sig.o]=../../common/include/prov/der_ecx.h
|
|
DEPEND[sm2_sig.o]=../../common/include/prov/der_sm2.h
|
|
|
|
SOURCE[$MAC_GOAL]=mac_legacy_sig.c
|
|
|
|
IF[{- !$disabled{lms} -}]
|
|
SOURCE[$LMS_GOAL]=lms_signature.c
|
|
ENDIF
|