mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
2ef9a7ac5e
We reuse concepts such as PROV_CIPHER, and make use of some common code in provider_util.c Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12637)
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
# We make separate GOAL variables for each algorithm, to make it easy to
|
|
# switch each to the Legacy provider when needed.
|
|
|
|
$DH_GOAL=../../libimplementations.a
|
|
$DSA_GOAL=../../libimplementations.a
|
|
$EC_GOAL=../../libimplementations.a
|
|
$ECX_GOAL=../../libimplementations.a
|
|
$KDF_GOAL=../../libimplementations.a
|
|
|
|
IF[{- !$disabled{dh} -}]
|
|
SOURCE[$DH_GOAL]=dh_kmgmt.c
|
|
ENDIF
|
|
IF[{- !$disabled{dsa} -}]
|
|
SOURCE[$DSA_GOAL]=dsa_kmgmt.c
|
|
ENDIF
|
|
IF[{- !$disabled{ec} -}]
|
|
SOURCE[$EC_GOAL]=ec_kmgmt.c
|
|
ENDIF
|
|
|
|
IF[{- !$disabled{asm} -}]
|
|
$ECDEF_s390x=S390X_EC_ASM
|
|
|
|
# Now that we have defined all the arch specific variables, use the
|
|
# appropriate one, and define the appropriate macros
|
|
IF[$ECASM_{- $target{asm_arch} -}]
|
|
$ECDEF=$ECDEF_{- $target{asm_arch} -}
|
|
ENDIF
|
|
ENDIF
|
|
|
|
IF[{- !$disabled{ec} -}]
|
|
SOURCE[$ECX_GOAL]=ecx_kmgmt.c
|
|
DEFINE[$ECX_GOAL]=$ECDEF
|
|
ENDIF
|
|
|
|
SOURCE[../../libfips.a]=rsa_kmgmt.c
|
|
SOURCE[../../libnonfips.a]=rsa_kmgmt.c
|
|
|
|
SOURCE[$KDF_GOAL]=kdf_legacy_kmgmt.c
|
|
|
|
SOURCE[../../libfips.a]=mac_legacy_kmgmt.c
|
|
SOURCE[../../libnonfips.a]=mac_legacy_kmgmt.c
|