mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-28 18:54:36 +00:00
We put almost everything in these internal static libraries: libcommon Block building code that can be used by all our implementations, legacy and non-legacy alike. libimplementations All non-legacy algorithm implementations and only them. All the code that ends up here is agnostic to the definitions of FIPS_MODE. liblegacy All legacy implementations. libnonfips Support code for the algorithm implementations. Built with FIPS_MODE undefined. Any code that checks that FIPS_MODE isn't defined must end up in this library. libfips Support code for the algorithm implementations. Built with FIPS_MODE defined. Any code that checks that FIPS_MODE is defined must end up in this library. The FIPS provider module is built from providers/fips/*.c and linked with libimplementations, libcommon and libfips. The Legacy provider module is built from providers/legacy/*.c and linked with liblegacy, libcommon and libcrypto. If module building is disabled, the object files from liblegacy and libcommon are added to libcrypto and the Legacy provider becomes a built-in provider. The Default provider module is built-in, so it ends up being linked with libimplementations, libcommon and libnonfips. For libcrypto in form of static library, the object files from those other libraries are simply being added to libcrypto. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10088)
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
LIBS=../../libcrypto
|
|
$COMMON=digest.c evp_enc.c evp_lib.c evp_fetch.c cmeth_lib.c evp_utils.c \
|
|
mac_lib.c mac_meth.c keymgmt_meth.c keymgmt_lib.c kdf_lib.c kdf_meth.c
|
|
SOURCE[../../libcrypto]=$COMMON\
|
|
encode.c evp_key.c evp_cnf.c \
|
|
e_des.c e_bf.c e_idea.c e_des3.c e_camellia.c\
|
|
e_rc4.c e_aes.c names.c e_seed.c e_aria.c e_sm4.c \
|
|
e_xcbc_d.c e_rc2.c e_cast.c e_rc5.c \
|
|
m_null.c m_md2.c m_md4.c m_md5.c m_wp.c \
|
|
m_mdc2.c m_ripemd.c \
|
|
p_open.c p_seal.c p_sign.c p_verify.c p_lib.c p_enc.c p_dec.c \
|
|
bio_md.c bio_b64.c bio_enc.c evp_err.c e_null.c \
|
|
c_allc.c c_alld.c bio_ok.c \
|
|
evp_pkey.c evp_pbe.c p5_crpt.c p5_crpt2.c pbe_scrypt.c \
|
|
pkey_kdf.c \
|
|
e_old.c pmeth_lib.c pmeth_fn.c pmeth_gn.c m_sigver.c \
|
|
e_aes_cbc_hmac_sha1.c e_aes_cbc_hmac_sha256.c e_rc4_hmac_md5.c \
|
|
e_chacha20_poly1305.c \
|
|
pkey_mac.c exchange.c \
|
|
legacy_sha.c legacy_md5_sha1.c
|
|
SOURCE[../../providers/libfips.a]=$COMMON
|
|
|
|
INCLUDE[e_aes.o]=.. ../modes
|
|
INCLUDE[e_aes_cbc_hmac_sha1.o]=../modes
|
|
INCLUDE[e_aes_cbc_hmac_sha256.o]=../modes
|
|
INCLUDE[e_aria.o]=.. ../modes
|
|
INCLUDE[e_camellia.o]=.. ../modes
|
|
INCLUDE[e_sm4.o]=.. ../modes
|
|
INCLUDE[e_des.o]=..
|
|
INCLUDE[e_des3.o]=..
|