
This can effectively reduce the binary size for platforms that don't need ECX feature(~100KB). Signed-off-by: Yi Li <yi1.li@intel.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20781)
15 lines
384 B
Plaintext
15 lines
384 B
Plaintext
# We make separate GOAL variables for each algorithm, to make it easy to
|
|
# switch each to the Legacy provider when needed.
|
|
|
|
$RSA_KEM_GOAL=../../libdefault.a ../../libfips.a
|
|
$EC_KEM_GOAL=../../libdefault.a
|
|
|
|
SOURCE[$RSA_KEM_GOAL]=rsa_kem.c
|
|
|
|
IF[{- !$disabled{ec} -}]
|
|
SOURCE[$EC_KEM_GOAL]=kem_util.c ec_kem.c
|
|
IF[{- !$disabled{ecx} -}]
|
|
SOURCE[$EC_KEM_GOAL]=ecx_kem.c
|
|
ENDIF
|
|
ENDIF
|