* [edk2-staging/crypto-new-api][PATCH] CryptoPkg: Move ECC feature to OpensslLibFull
@ 2023-03-22 6:38 Li, Yi
2023-03-22 7:28 ` Heng Luo
0 siblings, 1 reply; 2+ messages in thread
From: Li, Yi @ 2023-03-22 6:38 UTC (permalink / raw)
To: devel; +Cc: Yi Li, Zhichao Gao, Heng Luo
The purpose is to use OpensslLib to compile drivers that do not
require ECC functions, instead of enabling ECC unconditionally.
Cc: Zhichao Gao <zhichao.gao@intel.com>
Cc: Heng Luo <heng.luo@intel.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
---
CryptoPkg/Library/OpensslLib/EcSm2Null.c | 421 +++++++++++
CryptoPkg/Library/OpensslLib/OpensslLib.inf | 49 +-
.../Library/OpensslLib/OpensslLibFull.inf | 708 ++++++++++++++++++
3 files changed, 1131 insertions(+), 47 deletions(-)
create mode 100644 CryptoPkg/Library/OpensslLib/EcSm2Null.c
create mode 100644 CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
diff --git a/CryptoPkg/Library/OpensslLib/EcSm2Null.c b/CryptoPkg/Library/OpensslLib/EcSm2Null.c
new file mode 100644
index 0000000000..6ae538a3b3
--- /dev/null
+++ b/CryptoPkg/Library/OpensslLib/EcSm2Null.c
@@ -0,0 +1,421 @@
+/** @file
+ Null implementation of EC and SM2 functions called by BaseCryptLib.
+
+ Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#include <Base.h>
+#include <Library/DebugLib.h>
+
+#undef OPENSSL_NO_EC
+
+#include <openssl/objects.h>
+#include <openssl/bn.h>
+#include <openssl/ec.h>
+#include <openssl/pem.h>
+
+void
+EC_GROUP_free (
+ EC_GROUP *group
+ )
+{
+ ASSERT (FALSE);
+}
+
+int
+EC_GROUP_get_order (
+ const EC_GROUP *group,
+ BIGNUM *order,
+ BN_CTX *ctx
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+EC_GROUP_get_curve_name (
+ const EC_GROUP *group
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+EC_GROUP_get_curve (
+ const EC_GROUP *group,
+ BIGNUM *p,
+ BIGNUM *a,
+ BIGNUM *b,
+ BN_CTX *ctx
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+EC_GROUP_get_degree (
+ const EC_GROUP *group
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+EC_GROUP *
+EC_GROUP_new_by_curve_name (
+ int nid
+ )
+{
+ ASSERT (FALSE);
+ return NULL;
+}
+
+EC_POINT *
+EC_POINT_new (
+ const EC_GROUP *group
+ )
+{
+ ASSERT (FALSE);
+ return NULL;
+}
+
+void
+EC_POINT_free (
+ EC_POINT *point
+ )
+{
+ ASSERT (FALSE);
+}
+
+void
+EC_POINT_clear_free (
+ EC_POINT *point
+ )
+{
+ ASSERT (FALSE);
+}
+
+int
+EC_POINT_set_affine_coordinates (
+ const EC_GROUP *group,
+ EC_POINT *p,
+ const BIGNUM *x,
+ const BIGNUM *y,
+ BN_CTX *ctx
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+EC_POINT_get_affine_coordinates (
+ const EC_GROUP *group,
+ const EC_POINT *p,
+ BIGNUM *x,
+ BIGNUM *y,
+ BN_CTX *ctx
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+EC_POINT_set_compressed_coordinates (
+ const EC_GROUP *group,
+ EC_POINT *p,
+ const BIGNUM *x,
+ int y_bit,
+ BN_CTX *ctx
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+EC_POINT_add (
+ const EC_GROUP *group,
+ EC_POINT *r,
+ const EC_POINT *a,
+ const EC_POINT *b,
+ BN_CTX *ctx
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+EC_POINT_invert (
+ const EC_GROUP *group,
+ EC_POINT *a,
+ BN_CTX *ctx
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+EC_POINT_is_at_infinity (
+ const EC_GROUP *group,
+ const EC_POINT *p
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+EC_POINT_is_on_curve (
+ const EC_GROUP *group,
+ const EC_POINT *point,
+ BN_CTX *ctx
+ )
+{
+ ASSERT (FALSE);
+ return -1;
+}
+
+int
+EC_POINT_cmp (
+ const EC_GROUP *group,
+ const EC_POINT *a,
+ const EC_POINT *b,
+ BN_CTX *ctx
+ )
+{
+ ASSERT (FALSE);
+ return -1;
+}
+
+int
+EC_POINT_mul (
+ const EC_GROUP *group,
+ EC_POINT *r,
+ const BIGNUM *n,
+ const EC_POINT *q,
+ const BIGNUM *m,
+ BN_CTX *ctx
+ )
+{
+ ASSERT (FALSE);
+ return -0;
+}
+
+EC_KEY *
+EC_KEY_new_by_curve_name (
+ int nid
+ )
+{
+ ASSERT (FALSE);
+ return NULL;
+}
+
+void
+EC_KEY_free (
+ EC_KEY *key
+ )
+{
+ ASSERT (FALSE);
+}
+
+EC_KEY *
+EC_KEY_dup (
+ const EC_KEY *src
+ )
+{
+ ASSERT (FALSE);
+ return NULL;
+}
+
+const EC_GROUP *
+EC_KEY_get0_group (
+ const EC_KEY *key
+ )
+{
+ ASSERT (FALSE);
+ return NULL;
+}
+
+const EC_POINT *
+EC_KEY_get0_public_key (
+ const EC_KEY *key
+ )
+{
+ ASSERT (FALSE);
+ return NULL;
+}
+
+int
+EC_KEY_set_public_key (
+ EC_KEY *key,
+ const EC_POINT *pub
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+EC_KEY_generate_key (
+ EC_KEY *key
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+EC_KEY_check_key (
+ const EC_KEY *key
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+int
+ECDH_compute_key (
+ void *out,
+ size_t outlen,
+ const EC_POINT *pub_key,
+ const EC_KEY *ecdh,
+ void *(*KDF)(
+ const void *in,
+ size_t inlen,
+ void *out,
+ size_t *outlen
+ )
+ )
+{
+ ASSERT (FALSE);
+ return 0;
+}
+
+struct ec_key_st *
+EVP_PKEY_get0_EC_KEY (
+ EVP_PKEY *pkey
+ )
+{
+ ASSERT (FALSE);
+ return NULL;
+}
+
+EC_KEY *
+PEM_read_bio_ECPrivateKey (
+ BIO *bp,
+ EC_KEY **key,
+ pem_password_cb *cb,
+ void *u
+ )
+{
+ ASSERT (FALSE);
+ return NULL;
+}
+
+ECDSA_SIG *
+ECDSA_SIG_new (
+ void
+ )
+{
+ ASSERT (FALSE);
+ return NULL;
+}
+
+void
+ECDSA_SIG_free (
+ ECDSA_SIG *sig
+ )
+{
+ ASSERT (FALSE);
+}
+
+void
+ECDSA_SIG_get0 (
+ const ECDSA_SIG *sig,
+ const BIGNUM **pr,
+ const BIGNUM **ps
+ )
+{
+ ASSERT (FALSE);
+}
+
+int
+ECDSA_SIG_set0 (
+ ECDSA_SIG *sig,
+ BIGNUM *r,
+ BIGNUM *s
+ )
+{
+ return 0;
+ ASSERT (FALSE);
+}
+
+ECDSA_SIG *
+ECDSA_do_sign (
+ const unsigned char *dgst,
+ int dgst_len,
+ EC_KEY *eckey
+ )
+{
+ ASSERT (FALSE);
+ return NULL;
+}
+
+int
+ECDSA_do_verify (
+ const unsigned char *dgst,
+ int dgst_len,
+ const ECDSA_SIG *sig,
+ EC_KEY *eckey
+ )
+{
+ ASSERT (FALSE);
+ return -1;
+}
+
+int
+EVP_PKEY_set1_EC_KEY (
+ EVP_PKEY *pkey,
+ EC_KEY *key
+ )
+{
+ ASSERT (FALSE);
+ return -1;
+}
+
+void
+EC_KEY_set_asn1_flag (
+ EC_KEY *key,
+ int flag
+ )
+{
+ ASSERT (FALSE);
+}
+
+int
+EC_POINT_copy (
+ EC_POINT *dest,
+ const EC_POINT *src
+ )
+{
+ ASSERT (FALSE);
+ return -1;
+}
+
+EC_KEY *
+EVP_PKEY_get1_EC_KEY (
+ EVP_PKEY *pkey
+ )
+{
+ ASSERT (FALSE);
+ return NULL;
+}
diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
index c112b737ba..eec497c7c4 100644
--- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
+++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
@@ -16,7 +16,7 @@
VERSION_STRING = 1.0
LIBRARY_CLASS = OpensslLib
DEFINE OPENSSL_PATH = openssl
- DEFINE OPENSSL_FLAGS = -DL_ENDIAN -DOPENSSL_SMALL_FOOTPRINT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_NO_ASM
+ DEFINE OPENSSL_FLAGS = -DL_ENDIAN -DOPENSSL_SMALL_FOOTPRINT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_NO_ASM -DOPENSSL_NO_EC
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
@@ -200,43 +200,6 @@
$(OPENSSL_PATH)/crypto/dso/dso_vms.c
$(OPENSSL_PATH)/crypto/dso/dso_win32.c
$(OPENSSL_PATH)/crypto/ebcdic.c
- $(OPENSSL_PATH)/crypto/ec/curve25519.c
- $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/f_impl.c
- $(OPENSSL_PATH)/crypto/ec/curve448/curve448.c
- $(OPENSSL_PATH)/crypto/ec/curve448/curve448_tables.c
- $(OPENSSL_PATH)/crypto/ec/curve448/eddsa.c
- $(OPENSSL_PATH)/crypto/ec/curve448/f_generic.c
- $(OPENSSL_PATH)/crypto/ec/curve448/scalar.c
- $(OPENSSL_PATH)/crypto/ec/ec2_oct.c
- $(OPENSSL_PATH)/crypto/ec/ec2_smpl.c
- $(OPENSSL_PATH)/crypto/ec/ec_ameth.c
- $(OPENSSL_PATH)/crypto/ec/ec_asn1.c
- $(OPENSSL_PATH)/crypto/ec/ec_check.c
- $(OPENSSL_PATH)/crypto/ec/ec_curve.c
- $(OPENSSL_PATH)/crypto/ec/ec_cvt.c
- $(OPENSSL_PATH)/crypto/ec/ec_err.c
- $(OPENSSL_PATH)/crypto/ec/ec_key.c
- $(OPENSSL_PATH)/crypto/ec/ec_kmeth.c
- $(OPENSSL_PATH)/crypto/ec/ec_lib.c
- $(OPENSSL_PATH)/crypto/ec/ec_mult.c
- $(OPENSSL_PATH)/crypto/ec/ec_oct.c
- $(OPENSSL_PATH)/crypto/ec/ec_pmeth.c
- $(OPENSSL_PATH)/crypto/ec/ec_print.c
- $(OPENSSL_PATH)/crypto/ec/ecdh_kdf.c
- $(OPENSSL_PATH)/crypto/ec/ecdh_ossl.c
- $(OPENSSL_PATH)/crypto/ec/ecdsa_ossl.c
- $(OPENSSL_PATH)/crypto/ec/ecdsa_sign.c
- $(OPENSSL_PATH)/crypto/ec/ecdsa_vrf.c
- $(OPENSSL_PATH)/crypto/ec/eck_prn.c
- $(OPENSSL_PATH)/crypto/ec/ecp_mont.c
- $(OPENSSL_PATH)/crypto/ec/ecp_nist.c
- $(OPENSSL_PATH)/crypto/ec/ecp_nistp224.c
- $(OPENSSL_PATH)/crypto/ec/ecp_nistp256.c
- $(OPENSSL_PATH)/crypto/ec/ecp_nistp521.c
- $(OPENSSL_PATH)/crypto/ec/ecp_nistputil.c
- $(OPENSSL_PATH)/crypto/ec/ecp_oct.c
- $(OPENSSL_PATH)/crypto/ec/ecp_smpl.c
- $(OPENSSL_PATH)/crypto/ec/ecx_meth.c
$(OPENSSL_PATH)/crypto/err/err.c
$(OPENSSL_PATH)/crypto/err/err_prn.c
$(OPENSSL_PATH)/crypto/evp/bio_b64.c
@@ -534,15 +497,6 @@
$(OPENSSL_PATH)/crypto/conf/conf_local.h
$(OPENSSL_PATH)/crypto/dh/dh_local.h
$(OPENSSL_PATH)/crypto/dso/dso_local.h
- $(OPENSSL_PATH)/crypto/ec/ec_local.h
- $(OPENSSL_PATH)/crypto/ec/curve448/curve448_local.h
- $(OPENSSL_PATH)/crypto/ec/curve448/curve448utils.h
- $(OPENSSL_PATH)/crypto/ec/curve448/ed448.h
- $(OPENSSL_PATH)/crypto/ec/curve448/field.h
- $(OPENSSL_PATH)/crypto/ec/curve448/point_448.h
- $(OPENSSL_PATH)/crypto/ec/curve448/word.h
- $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/arch_intrinsics.h
- $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/f_impl.h
$(OPENSSL_PATH)/crypto/evp/evp_local.h
$(OPENSSL_PATH)/crypto/hmac/hmac_local.h
$(OPENSSL_PATH)/crypto/lhash/lhash_local.h
@@ -620,6 +574,7 @@
buildinf.h
ossl_store.c
rand_pool.c
+ EcSm2Null.c
[Packages]
MdePkg/MdePkg.dec
diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf b/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
new file mode 100644
index 0000000000..b07abec1af
--- /dev/null
+++ b/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
@@ -0,0 +1,708 @@
+## @file
+# This module provides OpenSSL Library implementation with ECC feature.
+#
+# Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
+# (C) Copyright 2023 Hewlett Packard Enterprise Development LP<BR>
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+##
+
+[Defines]
+ INF_VERSION = 0x00010005
+ BASE_NAME = OpensslLib
+ MODULE_UNI_FILE = OpensslLib.uni
+ FILE_GUID = 00EA10C4-CB1F-4BCE-A8BA-DE21CD4EF540
+ MODULE_TYPE = BASE
+ VERSION_STRING = 1.0
+ LIBRARY_CLASS = OpensslLib
+ DEFINE OPENSSL_PATH = openssl
+ DEFINE OPENSSL_FLAGS = -DL_ENDIAN -DOPENSSL_SMALL_FOOTPRINT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_NO_ASM
+
+#
+# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
+#
+
+[Sources]
+ $(OPENSSL_PATH)/e_os.h
+ $(OPENSSL_PATH)/ms/uplink.h
+# Autogenerated files list starts here
+ $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
+ $(OPENSSL_PATH)/crypto/aes/aes_cfb.c
+ $(OPENSSL_PATH)/crypto/aes/aes_core.c
+ $(OPENSSL_PATH)/crypto/aes/aes_ige.c
+ $(OPENSSL_PATH)/crypto/aes/aes_misc.c
+ $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
+ $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
+ $(OPENSSL_PATH)/crypto/aria/aria.c
+ $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
+ $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
+ $(OPENSSL_PATH)/crypto/asn1/a_digest.c
+ $(OPENSSL_PATH)/crypto/asn1/a_dup.c
+ $(OPENSSL_PATH)/crypto/asn1/a_gentm.c
+ $(OPENSSL_PATH)/crypto/asn1/a_i2d_fp.c
+ $(OPENSSL_PATH)/crypto/asn1/a_int.c
+ $(OPENSSL_PATH)/crypto/asn1/a_mbstr.c
+ $(OPENSSL_PATH)/crypto/asn1/a_object.c
+ $(OPENSSL_PATH)/crypto/asn1/a_octet.c
+ $(OPENSSL_PATH)/crypto/asn1/a_print.c
+ $(OPENSSL_PATH)/crypto/asn1/a_sign.c
+ $(OPENSSL_PATH)/crypto/asn1/a_strex.c
+ $(OPENSSL_PATH)/crypto/asn1/a_strnid.c
+ $(OPENSSL_PATH)/crypto/asn1/a_time.c
+ $(OPENSSL_PATH)/crypto/asn1/a_type.c
+ $(OPENSSL_PATH)/crypto/asn1/a_utctm.c
+ $(OPENSSL_PATH)/crypto/asn1/a_utf8.c
+ $(OPENSSL_PATH)/crypto/asn1/a_verify.c
+ $(OPENSSL_PATH)/crypto/asn1/ameth_lib.c
+ $(OPENSSL_PATH)/crypto/asn1/asn1_err.c
+ $(OPENSSL_PATH)/crypto/asn1/asn1_gen.c
+ $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.c
+ $(OPENSSL_PATH)/crypto/asn1/asn1_lib.c
+ $(OPENSSL_PATH)/crypto/asn1/asn1_par.c
+ $(OPENSSL_PATH)/crypto/asn1/asn_mime.c
+ $(OPENSSL_PATH)/crypto/asn1/asn_moid.c
+ $(OPENSSL_PATH)/crypto/asn1/asn_mstbl.c
+ $(OPENSSL_PATH)/crypto/asn1/asn_pack.c
+ $(OPENSSL_PATH)/crypto/asn1/bio_asn1.c
+ $(OPENSSL_PATH)/crypto/asn1/bio_ndef.c
+ $(OPENSSL_PATH)/crypto/asn1/d2i_pr.c
+ $(OPENSSL_PATH)/crypto/asn1/d2i_pu.c
+ $(OPENSSL_PATH)/crypto/asn1/evp_asn1.c
+ $(OPENSSL_PATH)/crypto/asn1/f_int.c
+ $(OPENSSL_PATH)/crypto/asn1/f_string.c
+ $(OPENSSL_PATH)/crypto/asn1/i2d_pr.c
+ $(OPENSSL_PATH)/crypto/asn1/i2d_pu.c
+ $(OPENSSL_PATH)/crypto/asn1/n_pkey.c
+ $(OPENSSL_PATH)/crypto/asn1/nsseq.c
+ $(OPENSSL_PATH)/crypto/asn1/p5_pbe.c
+ $(OPENSSL_PATH)/crypto/asn1/p5_pbev2.c
+ $(OPENSSL_PATH)/crypto/asn1/p5_scrypt.c
+ $(OPENSSL_PATH)/crypto/asn1/p8_pkey.c
+ $(OPENSSL_PATH)/crypto/asn1/t_bitst.c
+ $(OPENSSL_PATH)/crypto/asn1/t_pkey.c
+ $(OPENSSL_PATH)/crypto/asn1/t_spki.c
+ $(OPENSSL_PATH)/crypto/asn1/tasn_dec.c
+ $(OPENSSL_PATH)/crypto/asn1/tasn_enc.c
+ $(OPENSSL_PATH)/crypto/asn1/tasn_fre.c
+ $(OPENSSL_PATH)/crypto/asn1/tasn_new.c
+ $(OPENSSL_PATH)/crypto/asn1/tasn_prn.c
+ $(OPENSSL_PATH)/crypto/asn1/tasn_scn.c
+ $(OPENSSL_PATH)/crypto/asn1/tasn_typ.c
+ $(OPENSSL_PATH)/crypto/asn1/tasn_utl.c
+ $(OPENSSL_PATH)/crypto/asn1/x_algor.c
+ $(OPENSSL_PATH)/crypto/asn1/x_bignum.c
+ $(OPENSSL_PATH)/crypto/asn1/x_info.c
+ $(OPENSSL_PATH)/crypto/asn1/x_int64.c
+ $(OPENSSL_PATH)/crypto/asn1/x_long.c
+ $(OPENSSL_PATH)/crypto/asn1/x_pkey.c
+ $(OPENSSL_PATH)/crypto/asn1/x_sig.c
+ $(OPENSSL_PATH)/crypto/asn1/x_spki.c
+ $(OPENSSL_PATH)/crypto/asn1/x_val.c
+ $(OPENSSL_PATH)/crypto/async/arch/async_null.c
+ $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
+ $(OPENSSL_PATH)/crypto/async/arch/async_win.c
+ $(OPENSSL_PATH)/crypto/async/async.c
+ $(OPENSSL_PATH)/crypto/async/async_err.c
+ $(OPENSSL_PATH)/crypto/async/async_wait.c
+ $(OPENSSL_PATH)/crypto/bio/b_addr.c
+ $(OPENSSL_PATH)/crypto/bio/b_dump.c
+ $(OPENSSL_PATH)/crypto/bio/b_sock.c
+ $(OPENSSL_PATH)/crypto/bio/b_sock2.c
+ $(OPENSSL_PATH)/crypto/bio/bf_buff.c
+ $(OPENSSL_PATH)/crypto/bio/bf_lbuf.c
+ $(OPENSSL_PATH)/crypto/bio/bf_nbio.c
+ $(OPENSSL_PATH)/crypto/bio/bf_null.c
+ $(OPENSSL_PATH)/crypto/bio/bio_cb.c
+ $(OPENSSL_PATH)/crypto/bio/bio_err.c
+ $(OPENSSL_PATH)/crypto/bio/bio_lib.c
+ $(OPENSSL_PATH)/crypto/bio/bio_meth.c
+ $(OPENSSL_PATH)/crypto/bio/bss_acpt.c
+ $(OPENSSL_PATH)/crypto/bio/bss_bio.c
+ $(OPENSSL_PATH)/crypto/bio/bss_conn.c
+ $(OPENSSL_PATH)/crypto/bio/bss_dgram.c
+ $(OPENSSL_PATH)/crypto/bio/bss_fd.c
+ $(OPENSSL_PATH)/crypto/bio/bss_file.c
+ $(OPENSSL_PATH)/crypto/bio/bss_log.c
+ $(OPENSSL_PATH)/crypto/bio/bss_mem.c
+ $(OPENSSL_PATH)/crypto/bio/bss_null.c
+ $(OPENSSL_PATH)/crypto/bio/bss_sock.c
+ $(OPENSSL_PATH)/crypto/bn/bn_add.c
+ $(OPENSSL_PATH)/crypto/bn/bn_asm.c
+ $(OPENSSL_PATH)/crypto/bn/bn_blind.c
+ $(OPENSSL_PATH)/crypto/bn/bn_const.c
+ $(OPENSSL_PATH)/crypto/bn/bn_ctx.c
+ $(OPENSSL_PATH)/crypto/bn/bn_depr.c
+ $(OPENSSL_PATH)/crypto/bn/bn_dh.c
+ $(OPENSSL_PATH)/crypto/bn/bn_div.c
+ $(OPENSSL_PATH)/crypto/bn/bn_err.c
+ $(OPENSSL_PATH)/crypto/bn/bn_exp.c
+ $(OPENSSL_PATH)/crypto/bn/bn_exp2.c
+ $(OPENSSL_PATH)/crypto/bn/bn_gcd.c
+ $(OPENSSL_PATH)/crypto/bn/bn_gf2m.c
+ $(OPENSSL_PATH)/crypto/bn/bn_intern.c
+ $(OPENSSL_PATH)/crypto/bn/bn_kron.c
+ $(OPENSSL_PATH)/crypto/bn/bn_lib.c
+ $(OPENSSL_PATH)/crypto/bn/bn_mod.c
+ $(OPENSSL_PATH)/crypto/bn/bn_mont.c
+ $(OPENSSL_PATH)/crypto/bn/bn_mpi.c
+ $(OPENSSL_PATH)/crypto/bn/bn_mul.c
+ $(OPENSSL_PATH)/crypto/bn/bn_nist.c
+ $(OPENSSL_PATH)/crypto/bn/bn_prime.c
+ $(OPENSSL_PATH)/crypto/bn/bn_print.c
+ $(OPENSSL_PATH)/crypto/bn/bn_rand.c
+ $(OPENSSL_PATH)/crypto/bn/bn_recp.c
+ $(OPENSSL_PATH)/crypto/bn/bn_shift.c
+ $(OPENSSL_PATH)/crypto/bn/bn_sqr.c
+ $(OPENSSL_PATH)/crypto/bn/bn_sqrt.c
+ $(OPENSSL_PATH)/crypto/bn/bn_srp.c
+ $(OPENSSL_PATH)/crypto/bn/bn_word.c
+ $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
+ $(OPENSSL_PATH)/crypto/bn/rsa_sup_mul.c
+ $(OPENSSL_PATH)/crypto/buffer/buf_err.c
+ $(OPENSSL_PATH)/crypto/buffer/buffer.c
+ $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
+ $(OPENSSL_PATH)/crypto/cmac/cm_pmeth.c
+ $(OPENSSL_PATH)/crypto/cmac/cmac.c
+ $(OPENSSL_PATH)/crypto/comp/c_zlib.c
+ $(OPENSSL_PATH)/crypto/comp/comp_err.c
+ $(OPENSSL_PATH)/crypto/comp/comp_lib.c
+ $(OPENSSL_PATH)/crypto/conf/conf_api.c
+ $(OPENSSL_PATH)/crypto/conf/conf_def.c
+ $(OPENSSL_PATH)/crypto/conf/conf_err.c
+ $(OPENSSL_PATH)/crypto/conf/conf_lib.c
+ $(OPENSSL_PATH)/crypto/conf/conf_mall.c
+ $(OPENSSL_PATH)/crypto/conf/conf_mod.c
+ $(OPENSSL_PATH)/crypto/conf/conf_sap.c
+ $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
+ $(OPENSSL_PATH)/crypto/cpt_err.c
+ $(OPENSSL_PATH)/crypto/cryptlib.c
+ $(OPENSSL_PATH)/crypto/ctype.c
+ $(OPENSSL_PATH)/crypto/cversion.c
+ $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
+ $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
+ $(OPENSSL_PATH)/crypto/dh/dh_check.c
+ $(OPENSSL_PATH)/crypto/dh/dh_depr.c
+ $(OPENSSL_PATH)/crypto/dh/dh_err.c
+ $(OPENSSL_PATH)/crypto/dh/dh_gen.c
+ $(OPENSSL_PATH)/crypto/dh/dh_kdf.c
+ $(OPENSSL_PATH)/crypto/dh/dh_key.c
+ $(OPENSSL_PATH)/crypto/dh/dh_lib.c
+ $(OPENSSL_PATH)/crypto/dh/dh_meth.c
+ $(OPENSSL_PATH)/crypto/dh/dh_pmeth.c
+ $(OPENSSL_PATH)/crypto/dh/dh_prn.c
+ $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
+ $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
+ $(OPENSSL_PATH)/crypto/dso/dso_dl.c
+ $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
+ $(OPENSSL_PATH)/crypto/dso/dso_err.c
+ $(OPENSSL_PATH)/crypto/dso/dso_lib.c
+ $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
+ $(OPENSSL_PATH)/crypto/dso/dso_vms.c
+ $(OPENSSL_PATH)/crypto/dso/dso_win32.c
+ $(OPENSSL_PATH)/crypto/ebcdic.c
+ $(OPENSSL_PATH)/crypto/ec/curve25519.c
+ $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/f_impl.c
+ $(OPENSSL_PATH)/crypto/ec/curve448/curve448.c
+ $(OPENSSL_PATH)/crypto/ec/curve448/curve448_tables.c
+ $(OPENSSL_PATH)/crypto/ec/curve448/eddsa.c
+ $(OPENSSL_PATH)/crypto/ec/curve448/f_generic.c
+ $(OPENSSL_PATH)/crypto/ec/curve448/scalar.c
+ $(OPENSSL_PATH)/crypto/ec/ec2_oct.c
+ $(OPENSSL_PATH)/crypto/ec/ec2_smpl.c
+ $(OPENSSL_PATH)/crypto/ec/ec_ameth.c
+ $(OPENSSL_PATH)/crypto/ec/ec_asn1.c
+ $(OPENSSL_PATH)/crypto/ec/ec_check.c
+ $(OPENSSL_PATH)/crypto/ec/ec_curve.c
+ $(OPENSSL_PATH)/crypto/ec/ec_cvt.c
+ $(OPENSSL_PATH)/crypto/ec/ec_err.c
+ $(OPENSSL_PATH)/crypto/ec/ec_key.c
+ $(OPENSSL_PATH)/crypto/ec/ec_kmeth.c
+ $(OPENSSL_PATH)/crypto/ec/ec_lib.c
+ $(OPENSSL_PATH)/crypto/ec/ec_mult.c
+ $(OPENSSL_PATH)/crypto/ec/ec_oct.c
+ $(OPENSSL_PATH)/crypto/ec/ec_pmeth.c
+ $(OPENSSL_PATH)/crypto/ec/ec_print.c
+ $(OPENSSL_PATH)/crypto/ec/ecdh_kdf.c
+ $(OPENSSL_PATH)/crypto/ec/ecdh_ossl.c
+ $(OPENSSL_PATH)/crypto/ec/ecdsa_ossl.c
+ $(OPENSSL_PATH)/crypto/ec/ecdsa_sign.c
+ $(OPENSSL_PATH)/crypto/ec/ecdsa_vrf.c
+ $(OPENSSL_PATH)/crypto/ec/eck_prn.c
+ $(OPENSSL_PATH)/crypto/ec/ecp_mont.c
+ $(OPENSSL_PATH)/crypto/ec/ecp_nist.c
+ $(OPENSSL_PATH)/crypto/ec/ecp_nistp224.c
+ $(OPENSSL_PATH)/crypto/ec/ecp_nistp256.c
+ $(OPENSSL_PATH)/crypto/ec/ecp_nistp521.c
+ $(OPENSSL_PATH)/crypto/ec/ecp_nistputil.c
+ $(OPENSSL_PATH)/crypto/ec/ecp_oct.c
+ $(OPENSSL_PATH)/crypto/ec/ecp_smpl.c
+ $(OPENSSL_PATH)/crypto/ec/ecx_meth.c
+ $(OPENSSL_PATH)/crypto/err/err.c
+ $(OPENSSL_PATH)/crypto/err/err_prn.c
+ $(OPENSSL_PATH)/crypto/evp/bio_b64.c
+ $(OPENSSL_PATH)/crypto/evp/bio_enc.c
+ $(OPENSSL_PATH)/crypto/evp/bio_md.c
+ $(OPENSSL_PATH)/crypto/evp/bio_ok.c
+ $(OPENSSL_PATH)/crypto/evp/c_allc.c
+ $(OPENSSL_PATH)/crypto/evp/c_alld.c
+ $(OPENSSL_PATH)/crypto/evp/cmeth_lib.c
+ $(OPENSSL_PATH)/crypto/evp/digest.c
+ $(OPENSSL_PATH)/crypto/evp/e_aes.c
+ $(OPENSSL_PATH)/crypto/evp/e_aes_cbc_hmac_sha1.c
+ $(OPENSSL_PATH)/crypto/evp/e_aes_cbc_hmac_sha256.c
+ $(OPENSSL_PATH)/crypto/evp/e_aria.c
+ $(OPENSSL_PATH)/crypto/evp/e_bf.c
+ $(OPENSSL_PATH)/crypto/evp/e_camellia.c
+ $(OPENSSL_PATH)/crypto/evp/e_cast.c
+ $(OPENSSL_PATH)/crypto/evp/e_chacha20_poly1305.c
+ $(OPENSSL_PATH)/crypto/evp/e_des.c
+ $(OPENSSL_PATH)/crypto/evp/e_des3.c
+ $(OPENSSL_PATH)/crypto/evp/e_idea.c
+ $(OPENSSL_PATH)/crypto/evp/e_null.c
+ $(OPENSSL_PATH)/crypto/evp/e_old.c
+ $(OPENSSL_PATH)/crypto/evp/e_rc2.c
+ $(OPENSSL_PATH)/crypto/evp/e_rc4.c
+ $(OPENSSL_PATH)/crypto/evp/e_rc4_hmac_md5.c
+ $(OPENSSL_PATH)/crypto/evp/e_rc5.c
+ $(OPENSSL_PATH)/crypto/evp/e_seed.c
+ $(OPENSSL_PATH)/crypto/evp/e_sm4.c
+ $(OPENSSL_PATH)/crypto/evp/e_xcbc_d.c
+ $(OPENSSL_PATH)/crypto/evp/encode.c
+ $(OPENSSL_PATH)/crypto/evp/evp_cnf.c
+ $(OPENSSL_PATH)/crypto/evp/evp_enc.c
+ $(OPENSSL_PATH)/crypto/evp/evp_err.c
+ $(OPENSSL_PATH)/crypto/evp/evp_key.c
+ $(OPENSSL_PATH)/crypto/evp/evp_lib.c
+ $(OPENSSL_PATH)/crypto/evp/evp_pbe.c
+ $(OPENSSL_PATH)/crypto/evp/evp_pkey.c
+ $(OPENSSL_PATH)/crypto/evp/m_md2.c
+ $(OPENSSL_PATH)/crypto/evp/m_md4.c
+ $(OPENSSL_PATH)/crypto/evp/m_md5.c
+ $(OPENSSL_PATH)/crypto/evp/m_md5_sha1.c
+ $(OPENSSL_PATH)/crypto/evp/m_mdc2.c
+ $(OPENSSL_PATH)/crypto/evp/m_null.c
+ $(OPENSSL_PATH)/crypto/evp/m_ripemd.c
+ $(OPENSSL_PATH)/crypto/evp/m_sha1.c
+ $(OPENSSL_PATH)/crypto/evp/m_sha3.c
+ $(OPENSSL_PATH)/crypto/evp/m_sigver.c
+ $(OPENSSL_PATH)/crypto/evp/m_wp.c
+ $(OPENSSL_PATH)/crypto/evp/names.c
+ $(OPENSSL_PATH)/crypto/evp/p5_crpt.c
+ $(OPENSSL_PATH)/crypto/evp/p5_crpt2.c
+ $(OPENSSL_PATH)/crypto/evp/p_dec.c
+ $(OPENSSL_PATH)/crypto/evp/p_enc.c
+ $(OPENSSL_PATH)/crypto/evp/p_lib.c
+ $(OPENSSL_PATH)/crypto/evp/p_open.c
+ $(OPENSSL_PATH)/crypto/evp/p_seal.c
+ $(OPENSSL_PATH)/crypto/evp/p_sign.c
+ $(OPENSSL_PATH)/crypto/evp/p_verify.c
+ $(OPENSSL_PATH)/crypto/evp/pbe_scrypt.c
+ $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
+ $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
+ $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
+ $(OPENSSL_PATH)/crypto/ex_data.c
+ $(OPENSSL_PATH)/crypto/getenv.c
+ $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
+ $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
+ $(OPENSSL_PATH)/crypto/hmac/hmac.c
+ $(OPENSSL_PATH)/crypto/init.c
+ $(OPENSSL_PATH)/crypto/kdf/hkdf.c
+ $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
+ $(OPENSSL_PATH)/crypto/kdf/scrypt.c
+ $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
+ $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
+ $(OPENSSL_PATH)/crypto/lhash/lhash.c
+ $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
+ $(OPENSSL_PATH)/crypto/md5/md5_one.c
+ $(OPENSSL_PATH)/crypto/mem.c
+ $(OPENSSL_PATH)/crypto/mem_clr.c
+ $(OPENSSL_PATH)/crypto/mem_dbg.c
+ $(OPENSSL_PATH)/crypto/mem_sec.c
+ $(OPENSSL_PATH)/crypto/modes/cbc128.c
+ $(OPENSSL_PATH)/crypto/modes/ccm128.c
+ $(OPENSSL_PATH)/crypto/modes/cfb128.c
+ $(OPENSSL_PATH)/crypto/modes/ctr128.c
+ $(OPENSSL_PATH)/crypto/modes/cts128.c
+ $(OPENSSL_PATH)/crypto/modes/gcm128.c
+ $(OPENSSL_PATH)/crypto/modes/ocb128.c
+ $(OPENSSL_PATH)/crypto/modes/ofb128.c
+ $(OPENSSL_PATH)/crypto/modes/wrap128.c
+ $(OPENSSL_PATH)/crypto/modes/xts128.c
+ $(OPENSSL_PATH)/crypto/o_dir.c
+ $(OPENSSL_PATH)/crypto/o_fips.c
+ $(OPENSSL_PATH)/crypto/o_fopen.c
+ $(OPENSSL_PATH)/crypto/o_init.c
+ $(OPENSSL_PATH)/crypto/o_str.c
+ $(OPENSSL_PATH)/crypto/o_time.c
+ $(OPENSSL_PATH)/crypto/objects/o_names.c
+ $(OPENSSL_PATH)/crypto/objects/obj_dat.c
+ $(OPENSSL_PATH)/crypto/objects/obj_err.c
+ $(OPENSSL_PATH)/crypto/objects/obj_lib.c
+ $(OPENSSL_PATH)/crypto/objects/obj_xref.c
+ $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
+ $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
+ $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
+ $(OPENSSL_PATH)/crypto/ocsp/ocsp_ext.c
+ $(OPENSSL_PATH)/crypto/ocsp/ocsp_ht.c
+ $(OPENSSL_PATH)/crypto/ocsp/ocsp_lib.c
+ $(OPENSSL_PATH)/crypto/ocsp/ocsp_prn.c
+ $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
+ $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
+ $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
+ $(OPENSSL_PATH)/crypto/pem/pem_all.c
+ $(OPENSSL_PATH)/crypto/pem/pem_err.c
+ $(OPENSSL_PATH)/crypto/pem/pem_info.c
+ $(OPENSSL_PATH)/crypto/pem/pem_lib.c
+ $(OPENSSL_PATH)/crypto/pem/pem_oth.c
+ $(OPENSSL_PATH)/crypto/pem/pem_pk8.c
+ $(OPENSSL_PATH)/crypto/pem/pem_pkey.c
+ $(OPENSSL_PATH)/crypto/pem/pem_sign.c
+ $(OPENSSL_PATH)/crypto/pem/pem_x509.c
+ $(OPENSSL_PATH)/crypto/pem/pem_xaux.c
+ $(OPENSSL_PATH)/crypto/pem/pvkfmt.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_add.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_asn.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_attr.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_crpt.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_crt.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_decr.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_init.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_key.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_kiss.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_mutl.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_npas.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_p8d.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_p8e.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_sbag.c
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_utl.c
+ $(OPENSSL_PATH)/crypto/pkcs12/pk12err.c
+ $(OPENSSL_PATH)/crypto/pkcs7/bio_pk7.c
+ $(OPENSSL_PATH)/crypto/pkcs7/pk7_asn1.c
+ $(OPENSSL_PATH)/crypto/pkcs7/pk7_attr.c
+ $(OPENSSL_PATH)/crypto/pkcs7/pk7_doit.c
+ $(OPENSSL_PATH)/crypto/pkcs7/pk7_lib.c
+ $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
+ $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
+ $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
+ $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
+ $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
+ $(OPENSSL_PATH)/crypto/rand/rand_egd.c
+ $(OPENSSL_PATH)/crypto/rand/rand_err.c
+ $(OPENSSL_PATH)/crypto/rand/rand_lib.c
+ $(OPENSSL_PATH)/crypto/rand/rand_unix.c
+ $(OPENSSL_PATH)/crypto/rand/rand_vms.c
+ $(OPENSSL_PATH)/crypto/rand/rand_win.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_crpt.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_depr.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_err.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_gen.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_lib.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_meth.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_mp.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_none.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_oaep.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_ossl.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_pk1.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_pmeth.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_prn.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_pss.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_saos.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_sign.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
+ $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
+ $(OPENSSL_PATH)/crypto/sha/keccak1600.c
+ $(OPENSSL_PATH)/crypto/sha/sha1_one.c
+ $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
+ $(OPENSSL_PATH)/crypto/sha/sha256.c
+ $(OPENSSL_PATH)/crypto/sha/sha512.c
+ $(OPENSSL_PATH)/crypto/siphash/siphash.c
+ $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
+ $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
+ $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
+ $(OPENSSL_PATH)/crypto/sm3/sm3.c
+ $(OPENSSL_PATH)/crypto/sm4/sm4.c
+ $(OPENSSL_PATH)/crypto/stack/stack.c
+ $(OPENSSL_PATH)/crypto/threads_none.c
+ $(OPENSSL_PATH)/crypto/threads_pthread.c
+ $(OPENSSL_PATH)/crypto/threads_win.c
+ $(OPENSSL_PATH)/crypto/txt_db/txt_db.c
+ $(OPENSSL_PATH)/crypto/ui/ui_err.c
+ $(OPENSSL_PATH)/crypto/ui/ui_lib.c
+ $(OPENSSL_PATH)/crypto/ui/ui_null.c
+ $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
+ $(OPENSSL_PATH)/crypto/ui/ui_util.c
+ $(OPENSSL_PATH)/crypto/uid.c
+ $(OPENSSL_PATH)/crypto/x509/by_dir.c
+ $(OPENSSL_PATH)/crypto/x509/by_file.c
+ $(OPENSSL_PATH)/crypto/x509/t_crl.c
+ $(OPENSSL_PATH)/crypto/x509/t_req.c
+ $(OPENSSL_PATH)/crypto/x509/t_x509.c
+ $(OPENSSL_PATH)/crypto/x509/x509_att.c
+ $(OPENSSL_PATH)/crypto/x509/x509_cmp.c
+ $(OPENSSL_PATH)/crypto/x509/x509_d2.c
+ $(OPENSSL_PATH)/crypto/x509/x509_def.c
+ $(OPENSSL_PATH)/crypto/x509/x509_err.c
+ $(OPENSSL_PATH)/crypto/x509/x509_ext.c
+ $(OPENSSL_PATH)/crypto/x509/x509_lu.c
+ $(OPENSSL_PATH)/crypto/x509/x509_meth.c
+ $(OPENSSL_PATH)/crypto/x509/x509_obj.c
+ $(OPENSSL_PATH)/crypto/x509/x509_r2x.c
+ $(OPENSSL_PATH)/crypto/x509/x509_req.c
+ $(OPENSSL_PATH)/crypto/x509/x509_set.c
+ $(OPENSSL_PATH)/crypto/x509/x509_trs.c
+ $(OPENSSL_PATH)/crypto/x509/x509_txt.c
+ $(OPENSSL_PATH)/crypto/x509/x509_v3.c
+ $(OPENSSL_PATH)/crypto/x509/x509_vfy.c
+ $(OPENSSL_PATH)/crypto/x509/x509_vpm.c
+ $(OPENSSL_PATH)/crypto/x509/x509cset.c
+ $(OPENSSL_PATH)/crypto/x509/x509name.c
+ $(OPENSSL_PATH)/crypto/x509/x509rset.c
+ $(OPENSSL_PATH)/crypto/x509/x509spki.c
+ $(OPENSSL_PATH)/crypto/x509/x509type.c
+ $(OPENSSL_PATH)/crypto/x509/x_all.c
+ $(OPENSSL_PATH)/crypto/x509/x_attrib.c
+ $(OPENSSL_PATH)/crypto/x509/x_crl.c
+ $(OPENSSL_PATH)/crypto/x509/x_exten.c
+ $(OPENSSL_PATH)/crypto/x509/x_name.c
+ $(OPENSSL_PATH)/crypto/x509/x_pubkey.c
+ $(OPENSSL_PATH)/crypto/x509/x_req.c
+ $(OPENSSL_PATH)/crypto/x509/x_x509.c
+ $(OPENSSL_PATH)/crypto/x509/x_x509a.c
+ $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
+ $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
+ $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
+ $(OPENSSL_PATH)/crypto/x509v3/pcy_map.c
+ $(OPENSSL_PATH)/crypto/x509v3/pcy_node.c
+ $(OPENSSL_PATH)/crypto/x509v3/pcy_tree.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_addr.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_admis.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_akey.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_akeya.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_alt.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_asid.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_bcons.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_bitst.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_conf.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_cpols.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_crld.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_enum.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_extku.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_genn.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_ia5.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_info.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_int.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_lib.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_ncons.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_pci.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_pcia.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_pcons.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_pku.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_pmaps.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_prn.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_purp.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_skey.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_sxnet.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
+ $(OPENSSL_PATH)/crypto/x509v3/v3err.c
+ $(OPENSSL_PATH)/crypto/arm_arch.h
+ $(OPENSSL_PATH)/crypto/mips_arch.h
+ $(OPENSSL_PATH)/crypto/ppc_arch.h
+ $(OPENSSL_PATH)/crypto/s390x_arch.h
+ $(OPENSSL_PATH)/crypto/sparc_arch.h
+ $(OPENSSL_PATH)/crypto/vms_rms.h
+ $(OPENSSL_PATH)/crypto/aes/aes_local.h
+ $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
+ $(OPENSSL_PATH)/crypto/asn1/asn1_local.h
+ $(OPENSSL_PATH)/crypto/asn1/charmap.h
+ $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
+ $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
+ $(OPENSSL_PATH)/crypto/async/async_local.h
+ $(OPENSSL_PATH)/crypto/async/arch/async_null.h
+ $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
+ $(OPENSSL_PATH)/crypto/async/arch/async_win.h
+ $(OPENSSL_PATH)/crypto/bio/bio_local.h
+ $(OPENSSL_PATH)/crypto/bn/bn_local.h
+ $(OPENSSL_PATH)/crypto/bn/bn_prime.h
+ $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
+ $(OPENSSL_PATH)/crypto/comp/comp_local.h
+ $(OPENSSL_PATH)/crypto/conf/conf_def.h
+ $(OPENSSL_PATH)/crypto/conf/conf_local.h
+ $(OPENSSL_PATH)/crypto/dh/dh_local.h
+ $(OPENSSL_PATH)/crypto/dso/dso_local.h
+ $(OPENSSL_PATH)/crypto/ec/ec_local.h
+ $(OPENSSL_PATH)/crypto/ec/curve448/curve448_local.h
+ $(OPENSSL_PATH)/crypto/ec/curve448/curve448utils.h
+ $(OPENSSL_PATH)/crypto/ec/curve448/ed448.h
+ $(OPENSSL_PATH)/crypto/ec/curve448/field.h
+ $(OPENSSL_PATH)/crypto/ec/curve448/point_448.h
+ $(OPENSSL_PATH)/crypto/ec/curve448/word.h
+ $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/arch_intrinsics.h
+ $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/f_impl.h
+ $(OPENSSL_PATH)/crypto/evp/evp_local.h
+ $(OPENSSL_PATH)/crypto/hmac/hmac_local.h
+ $(OPENSSL_PATH)/crypto/lhash/lhash_local.h
+ $(OPENSSL_PATH)/crypto/md5/md5_local.h
+ $(OPENSSL_PATH)/crypto/modes/modes_local.h
+ $(OPENSSL_PATH)/crypto/objects/obj_dat.h
+ $(OPENSSL_PATH)/crypto/objects/obj_local.h
+ $(OPENSSL_PATH)/crypto/objects/obj_xref.h
+ $(OPENSSL_PATH)/crypto/ocsp/ocsp_local.h
+ $(OPENSSL_PATH)/crypto/pkcs12/p12_local.h
+ $(OPENSSL_PATH)/crypto/rand/rand_local.h
+ $(OPENSSL_PATH)/crypto/rsa/rsa_local.h
+ $(OPENSSL_PATH)/crypto/sha/sha_local.h
+ $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
+ $(OPENSSL_PATH)/crypto/sm3/sm3_local.h
+ $(OPENSSL_PATH)/crypto/store/store_local.h
+ $(OPENSSL_PATH)/crypto/ui/ui_local.h
+ $(OPENSSL_PATH)/crypto/x509/x509_local.h
+ $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
+ $(OPENSSL_PATH)/crypto/x509v3/pcy_local.h
+ $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
+ $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
+ $(OPENSSL_PATH)/ssl/bio_ssl.c
+ $(OPENSSL_PATH)/ssl/d1_lib.c
+ $(OPENSSL_PATH)/ssl/d1_msg.c
+ $(OPENSSL_PATH)/ssl/d1_srtp.c
+ $(OPENSSL_PATH)/ssl/methods.c
+ $(OPENSSL_PATH)/ssl/packet.c
+ $(OPENSSL_PATH)/ssl/pqueue.c
+ $(OPENSSL_PATH)/ssl/record/dtls1_bitmap.c
+ $(OPENSSL_PATH)/ssl/record/rec_layer_d1.c
+ $(OPENSSL_PATH)/ssl/record/rec_layer_s3.c
+ $(OPENSSL_PATH)/ssl/record/ssl3_buffer.c
+ $(OPENSSL_PATH)/ssl/record/ssl3_record.c
+ $(OPENSSL_PATH)/ssl/record/ssl3_record_tls13.c
+ $(OPENSSL_PATH)/ssl/s3_cbc.c
+ $(OPENSSL_PATH)/ssl/s3_enc.c
+ $(OPENSSL_PATH)/ssl/s3_lib.c
+ $(OPENSSL_PATH)/ssl/s3_msg.c
+ $(OPENSSL_PATH)/ssl/ssl_asn1.c
+ $(OPENSSL_PATH)/ssl/ssl_cert.c
+ $(OPENSSL_PATH)/ssl/ssl_ciph.c
+ $(OPENSSL_PATH)/ssl/ssl_conf.c
+ $(OPENSSL_PATH)/ssl/ssl_err.c
+ $(OPENSSL_PATH)/ssl/ssl_init.c
+ $(OPENSSL_PATH)/ssl/ssl_lib.c
+ $(OPENSSL_PATH)/ssl/ssl_mcnf.c
+ $(OPENSSL_PATH)/ssl/ssl_rsa.c
+ $(OPENSSL_PATH)/ssl/ssl_sess.c
+ $(OPENSSL_PATH)/ssl/ssl_stat.c
+ $(OPENSSL_PATH)/ssl/ssl_txt.c
+ $(OPENSSL_PATH)/ssl/ssl_utst.c
+ $(OPENSSL_PATH)/ssl/statem/extensions.c
+ $(OPENSSL_PATH)/ssl/statem/extensions_clnt.c
+ $(OPENSSL_PATH)/ssl/statem/extensions_cust.c
+ $(OPENSSL_PATH)/ssl/statem/extensions_srvr.c
+ $(OPENSSL_PATH)/ssl/statem/statem.c
+ $(OPENSSL_PATH)/ssl/statem/statem_clnt.c
+ $(OPENSSL_PATH)/ssl/statem/statem_dtls.c
+ $(OPENSSL_PATH)/ssl/statem/statem_lib.c
+ $(OPENSSL_PATH)/ssl/statem/statem_srvr.c
+ $(OPENSSL_PATH)/ssl/t1_enc.c
+ $(OPENSSL_PATH)/ssl/t1_lib.c
+ $(OPENSSL_PATH)/ssl/t1_trce.c
+ $(OPENSSL_PATH)/ssl/tls13_enc.c
+ $(OPENSSL_PATH)/ssl/tls_srp.c
+ $(OPENSSL_PATH)/ssl/packet_local.h
+ $(OPENSSL_PATH)/ssl/ssl_cert_table.h
+ $(OPENSSL_PATH)/ssl/ssl_local.h
+ $(OPENSSL_PATH)/ssl/record/record.h
+ $(OPENSSL_PATH)/ssl/record/record_local.h
+ $(OPENSSL_PATH)/ssl/statem/statem.h
+ $(OPENSSL_PATH)/ssl/statem/statem_local.h
+# Autogenerated files list ends here
+ buildinf.h
+ ossl_store.c
+ rand_pool.c
+
+[Packages]
+ MdePkg/MdePkg.dec
+ CryptoPkg/CryptoPkg.dec
+
+[LibraryClasses]
+ BaseLib
+ DebugLib
+ RngLib
+ PrintLib
+
+[LibraryClasses.ARM]
+ ArmSoftFloatLib
+
+[BuildOptions]
+ #
+ # Disables the following Visual Studio compiler warnings brought by openssl source,
+ # so we do not break the build with /WX option:
+ # C4090: 'function' : different 'const' qualifiers
+ # C4132: 'object' : const object should be initialized (tls13_enc.c)
+ # C4244: conversion from type1 to type2, possible loss of data
+ # C4245: conversion from type1 to type2, signed/unsigned mismatch
+ # C4267: conversion from size_t to type, possible loss of data
+ # C4306: 'identifier' : conversion from 'type1' to 'type2' of greater size
+ # C4310: cast truncates constant value
+ # C4389: 'operator' : signed/unsigned mismatch (xxxx)
+ # C4700: uninitialized local variable 'name' used. (conf_sap.c(71))
+ # C4702: unreachable code
+ # C4706: assignment within conditional expression
+ # C4819: The file contains a character that cannot be represented in the current code page
+ #
+ MSFT:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER $(OPENSSL_FLAGS) /wd4090 /wd4132 /wd4244 /wd4245 /wd4267 /wd4310 /wd4389 /wd4700 /wd4702 /wd4706 /wd4819
+ MSFT:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER $(OPENSSL_FLAGS) /wd4090 /wd4132 /wd4244 /wd4245 /wd4267 /wd4306 /wd4310 /wd4700 /wd4389 /wd4702 /wd4706 /wd4819
+
+ INTEL:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER -U__ICC $(OPENSSL_FLAGS) /w
+ INTEL:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER -U__ICC $(OPENSSL_FLAGS) /w
+
+ #
+ # Suppress the following build warnings in openssl so we don't break the build with -Werror
+ # -Werror=maybe-uninitialized: there exist some other paths for which the variable is not initialized.
+ # -Werror=format: Check calls to printf and scanf, etc., to make sure that the arguments supplied have
+ # types appropriate to the format string specified.
+ # -Werror=unused-but-set-variable: Warn whenever a local variable is assigned to, but otherwise unused (aside from its declaration).
+ #
+ GCC:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable
+ GCC:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-error=format -Wno-format -Wno-error=unused-but-set-variable -DNO_MSABI_VA_FUNCS
+ GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable
+ GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format -Wno-error=unused-but-set-variable
+ GCC:*_*_RISCV64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format -Wno-error=unused-but-set-variable
+ GCC:*_CLANG35_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized
+ GCC:*_CLANG38_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized
+ GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized -Wno-error=incompatible-pointer-types -Wno-error=pointer-sign -Wno-error=implicit-function-declaration -Wno-error=ignored-pragma-optimize
+
+ # suppress the following warnings in openssl so we don't break the build with warnings-as-errors:
+ # 1295: Deprecated declaration <entity> - give arg types
+ # 550: <entity> was set but never used
+ # 1293: assignment in condition
+ # 111: statement is unreachable (invariably "break;" after "return X;" in case statement)
+ # 68: integer conversion resulted in a change of sign ("if (Status == -1)")
+ # 177: <entity> was declared but never referenced
+ # 223: function <entity> declared implicitly
+ # 144: a value of type <type> cannot be used to initialize an entity of type <type>
+ # 513: a value of type <type> cannot be assigned to an entity of type <type>
+ # 188: enumerated type mixed with another type (i.e. passing an integer as an enum without a cast)
+ # 1296: Extended constant initialiser used
+ # 128: loop is not reachable - may be emitted inappropriately if code follows a conditional return
+ # from the function that evaluates to true at compile time
+ # 546: transfer of control bypasses initialization - may be emitted inappropriately if the uninitialized
+ # variable is never referenced after the jump
+ # 1: ignore "#1-D: last line of file ends without a newline"
+ # 3017: <entity> may be used before being set (NOTE: This was fixed in OpenSSL 1.1 HEAD with
+ # commit d9b8b89bec4480de3a10bdaf9425db371c19145b, and can be dropped then.)
+ RVCT:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) --library_interface=aeabi_clib99 --diag_suppress=1296,1295,550,1293,111,68,177,223,144,513,188,128,546,1,3017 -JCryptoPkg/Include
+ XCODE:*_*_IA32_CC_FLAGS = -mmmx -msse -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -w -std=c99 -Wno-error=uninitialized
+ XCODE:*_*_X64_CC_FLAGS = -mmmx -msse -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -w -std=c99 -Wno-error=uninitialized
+
+ #
+ # AARCH64 uses strict alignment and avoids SIMD registers for code that may execute
+ # with the MMU off. This involves SEC, PEI_CORE and PEIM modules as well as BASE
+ # libraries, given that they may be included into such modules.
+ # This library, even though of the BASE type, is never used in such cases, and
+ # avoiding the SIMD register file (which is shared with the FPU) prevents the
+ # compiler from successfully building some of the OpenSSL source files that
+ # use floating point types, so clear the flags here.
+ #
+ GCC:*_*_AARCH64_CC_XIPFLAGS ==
--
2.31.1.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [edk2-staging/crypto-new-api][PATCH] CryptoPkg: Move ECC feature to OpensslLibFull
2023-03-22 6:38 [edk2-staging/crypto-new-api][PATCH] CryptoPkg: Move ECC feature to OpensslLibFull Li, Yi
@ 2023-03-22 7:28 ` Heng Luo
0 siblings, 0 replies; 2+ messages in thread
From: Heng Luo @ 2023-03-22 7:28 UTC (permalink / raw)
To: Li, Yi1, devel@edk2.groups.io; +Cc: Gao, Zhichao
Reviewed-by: Heng Luo <heng.luo@intel.com>
> -----Original Message-----
> From: Li, Yi1 <yi1.li@intel.com>
> Sent: Wednesday, March 22, 2023 2:38 PM
> To: devel@edk2.groups.io
> Cc: Li, Yi1 <yi1.li@intel.com>; Gao, Zhichao <zhichao.gao@intel.com>; Luo,
> Heng <heng.luo@intel.com>
> Subject: [edk2-staging/crypto-new-api][PATCH] CryptoPkg: Move ECC feature
> to OpensslLibFull
>
> The purpose is to use OpensslLib to compile drivers that do not require ECC
> functions, instead of enabling ECC unconditionally.
>
> Cc: Zhichao Gao <zhichao.gao@intel.com>
> Cc: Heng Luo <heng.luo@intel.com>
> Signed-off-by: Yi Li <yi1.li@intel.com>
> ---
> CryptoPkg/Library/OpensslLib/EcSm2Null.c | 421 +++++++++++
> CryptoPkg/Library/OpensslLib/OpensslLib.inf | 49 +-
> .../Library/OpensslLib/OpensslLibFull.inf | 708 ++++++++++++++++++
> 3 files changed, 1131 insertions(+), 47 deletions(-) create mode 100644
> CryptoPkg/Library/OpensslLib/EcSm2Null.c
> create mode 100644 CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
>
> diff --git a/CryptoPkg/Library/OpensslLib/EcSm2Null.c
> b/CryptoPkg/Library/OpensslLib/EcSm2Null.c
> new file mode 100644
> index 0000000000..6ae538a3b3
> --- /dev/null
> +++ b/CryptoPkg/Library/OpensslLib/EcSm2Null.c
> @@ -0,0 +1,421 @@
> +/** @file
> + Null implementation of EC and SM2 functions called by BaseCryptLib.
> +
> + Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
> + SPDX-License-Identifier: BSD-2-Clause-Patent
> +
> +**/
> +
> +#include <Base.h>
> +#include <Library/DebugLib.h>
> +
> +#undef OPENSSL_NO_EC
> +
> +#include <openssl/objects.h>
> +#include <openssl/bn.h>
> +#include <openssl/ec.h>
> +#include <openssl/pem.h>
> +
> +void
> +EC_GROUP_free (
> + EC_GROUP *group
> + )
> +{
> + ASSERT (FALSE);
> +}
> +
> +int
> +EC_GROUP_get_order (
> + const EC_GROUP *group,
> + BIGNUM *order,
> + BN_CTX *ctx
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +EC_GROUP_get_curve_name (
> + const EC_GROUP *group
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +EC_GROUP_get_curve (
> + const EC_GROUP *group,
> + BIGNUM *p,
> + BIGNUM *a,
> + BIGNUM *b,
> + BN_CTX *ctx
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +EC_GROUP_get_degree (
> + const EC_GROUP *group
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +EC_GROUP *
> +EC_GROUP_new_by_curve_name (
> + int nid
> + )
> +{
> + ASSERT (FALSE);
> + return NULL;
> +}
> +
> +EC_POINT *
> +EC_POINT_new (
> + const EC_GROUP *group
> + )
> +{
> + ASSERT (FALSE);
> + return NULL;
> +}
> +
> +void
> +EC_POINT_free (
> + EC_POINT *point
> + )
> +{
> + ASSERT (FALSE);
> +}
> +
> +void
> +EC_POINT_clear_free (
> + EC_POINT *point
> + )
> +{
> + ASSERT (FALSE);
> +}
> +
> +int
> +EC_POINT_set_affine_coordinates (
> + const EC_GROUP *group,
> + EC_POINT *p,
> + const BIGNUM *x,
> + const BIGNUM *y,
> + BN_CTX *ctx
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +EC_POINT_get_affine_coordinates (
> + const EC_GROUP *group,
> + const EC_POINT *p,
> + BIGNUM *x,
> + BIGNUM *y,
> + BN_CTX *ctx
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +EC_POINT_set_compressed_coordinates (
> + const EC_GROUP *group,
> + EC_POINT *p,
> + const BIGNUM *x,
> + int y_bit,
> + BN_CTX *ctx
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +EC_POINT_add (
> + const EC_GROUP *group,
> + EC_POINT *r,
> + const EC_POINT *a,
> + const EC_POINT *b,
> + BN_CTX *ctx
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +EC_POINT_invert (
> + const EC_GROUP *group,
> + EC_POINT *a,
> + BN_CTX *ctx
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +EC_POINT_is_at_infinity (
> + const EC_GROUP *group,
> + const EC_POINT *p
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +EC_POINT_is_on_curve (
> + const EC_GROUP *group,
> + const EC_POINT *point,
> + BN_CTX *ctx
> + )
> +{
> + ASSERT (FALSE);
> + return -1;
> +}
> +
> +int
> +EC_POINT_cmp (
> + const EC_GROUP *group,
> + const EC_POINT *a,
> + const EC_POINT *b,
> + BN_CTX *ctx
> + )
> +{
> + ASSERT (FALSE);
> + return -1;
> +}
> +
> +int
> +EC_POINT_mul (
> + const EC_GROUP *group,
> + EC_POINT *r,
> + const BIGNUM *n,
> + const EC_POINT *q,
> + const BIGNUM *m,
> + BN_CTX *ctx
> + )
> +{
> + ASSERT (FALSE);
> + return -0;
> +}
> +
> +EC_KEY *
> +EC_KEY_new_by_curve_name (
> + int nid
> + )
> +{
> + ASSERT (FALSE);
> + return NULL;
> +}
> +
> +void
> +EC_KEY_free (
> + EC_KEY *key
> + )
> +{
> + ASSERT (FALSE);
> +}
> +
> +EC_KEY *
> +EC_KEY_dup (
> + const EC_KEY *src
> + )
> +{
> + ASSERT (FALSE);
> + return NULL;
> +}
> +
> +const EC_GROUP *
> +EC_KEY_get0_group (
> + const EC_KEY *key
> + )
> +{
> + ASSERT (FALSE);
> + return NULL;
> +}
> +
> +const EC_POINT *
> +EC_KEY_get0_public_key (
> + const EC_KEY *key
> + )
> +{
> + ASSERT (FALSE);
> + return NULL;
> +}
> +
> +int
> +EC_KEY_set_public_key (
> + EC_KEY *key,
> + const EC_POINT *pub
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +EC_KEY_generate_key (
> + EC_KEY *key
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +EC_KEY_check_key (
> + const EC_KEY *key
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +int
> +ECDH_compute_key (
> + void *out,
> + size_t outlen,
> + const EC_POINT *pub_key,
> + const EC_KEY *ecdh,
> + void *(*KDF)(
> + const void *in,
> + size_t inlen,
> + void *out,
> + size_t *outlen
> + )
> + )
> +{
> + ASSERT (FALSE);
> + return 0;
> +}
> +
> +struct ec_key_st *
> +EVP_PKEY_get0_EC_KEY (
> + EVP_PKEY *pkey
> + )
> +{
> + ASSERT (FALSE);
> + return NULL;
> +}
> +
> +EC_KEY *
> +PEM_read_bio_ECPrivateKey (
> + BIO *bp,
> + EC_KEY **key,
> + pem_password_cb *cb,
> + void *u
> + )
> +{
> + ASSERT (FALSE);
> + return NULL;
> +}
> +
> +ECDSA_SIG *
> +ECDSA_SIG_new (
> + void
> + )
> +{
> + ASSERT (FALSE);
> + return NULL;
> +}
> +
> +void
> +ECDSA_SIG_free (
> + ECDSA_SIG *sig
> + )
> +{
> + ASSERT (FALSE);
> +}
> +
> +void
> +ECDSA_SIG_get0 (
> + const ECDSA_SIG *sig,
> + const BIGNUM **pr,
> + const BIGNUM **ps
> + )
> +{
> + ASSERT (FALSE);
> +}
> +
> +int
> +ECDSA_SIG_set0 (
> + ECDSA_SIG *sig,
> + BIGNUM *r,
> + BIGNUM *s
> + )
> +{
> + return 0;
> + ASSERT (FALSE);
> +}
> +
> +ECDSA_SIG *
> +ECDSA_do_sign (
> + const unsigned char *dgst,
> + int dgst_len,
> + EC_KEY *eckey
> + )
> +{
> + ASSERT (FALSE);
> + return NULL;
> +}
> +
> +int
> +ECDSA_do_verify (
> + const unsigned char *dgst,
> + int dgst_len,
> + const ECDSA_SIG *sig,
> + EC_KEY *eckey
> + )
> +{
> + ASSERT (FALSE);
> + return -1;
> +}
> +
> +int
> +EVP_PKEY_set1_EC_KEY (
> + EVP_PKEY *pkey,
> + EC_KEY *key
> + )
> +{
> + ASSERT (FALSE);
> + return -1;
> +}
> +
> +void
> +EC_KEY_set_asn1_flag (
> + EC_KEY *key,
> + int flag
> + )
> +{
> + ASSERT (FALSE);
> +}
> +
> +int
> +EC_POINT_copy (
> + EC_POINT *dest,
> + const EC_POINT *src
> + )
> +{
> + ASSERT (FALSE);
> + return -1;
> +}
> +
> +EC_KEY *
> +EVP_PKEY_get1_EC_KEY (
> + EVP_PKEY *pkey
> + )
> +{
> + ASSERT (FALSE);
> + return NULL;
> +}
> diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> index c112b737ba..eec497c7c4 100644
> --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> @@ -16,7 +16,7 @@
> VERSION_STRING = 1.0
> LIBRARY_CLASS = OpensslLib
> DEFINE OPENSSL_PATH = openssl
> - DEFINE OPENSSL_FLAGS = -DL_ENDIAN -
> DOPENSSL_SMALL_FOOTPRINT -D_CRT_SECURE_NO_DEPRECATE -
> D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_NO_ASM
> + DEFINE OPENSSL_FLAGS = -DL_ENDIAN -
> DOPENSSL_SMALL_FOOTPRINT -D_CRT_SECURE_NO_DEPRECATE -
> D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_NO_ASM -DOPENSSL_NO_EC
>
> #
> # VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
> @@ -200,43 +200,6 @@
> $(OPENSSL_PATH)/crypto/dso/dso_vms.c
> $(OPENSSL_PATH)/crypto/dso/dso_win32.c
> $(OPENSSL_PATH)/crypto/ebcdic.c
> - $(OPENSSL_PATH)/crypto/ec/curve25519.c
> - $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/f_impl.c
> - $(OPENSSL_PATH)/crypto/ec/curve448/curve448.c
> - $(OPENSSL_PATH)/crypto/ec/curve448/curve448_tables.c
> - $(OPENSSL_PATH)/crypto/ec/curve448/eddsa.c
> - $(OPENSSL_PATH)/crypto/ec/curve448/f_generic.c
> - $(OPENSSL_PATH)/crypto/ec/curve448/scalar.c
> - $(OPENSSL_PATH)/crypto/ec/ec2_oct.c
> - $(OPENSSL_PATH)/crypto/ec/ec2_smpl.c
> - $(OPENSSL_PATH)/crypto/ec/ec_ameth.c
> - $(OPENSSL_PATH)/crypto/ec/ec_asn1.c
> - $(OPENSSL_PATH)/crypto/ec/ec_check.c
> - $(OPENSSL_PATH)/crypto/ec/ec_curve.c
> - $(OPENSSL_PATH)/crypto/ec/ec_cvt.c
> - $(OPENSSL_PATH)/crypto/ec/ec_err.c
> - $(OPENSSL_PATH)/crypto/ec/ec_key.c
> - $(OPENSSL_PATH)/crypto/ec/ec_kmeth.c
> - $(OPENSSL_PATH)/crypto/ec/ec_lib.c
> - $(OPENSSL_PATH)/crypto/ec/ec_mult.c
> - $(OPENSSL_PATH)/crypto/ec/ec_oct.c
> - $(OPENSSL_PATH)/crypto/ec/ec_pmeth.c
> - $(OPENSSL_PATH)/crypto/ec/ec_print.c
> - $(OPENSSL_PATH)/crypto/ec/ecdh_kdf.c
> - $(OPENSSL_PATH)/crypto/ec/ecdh_ossl.c
> - $(OPENSSL_PATH)/crypto/ec/ecdsa_ossl.c
> - $(OPENSSL_PATH)/crypto/ec/ecdsa_sign.c
> - $(OPENSSL_PATH)/crypto/ec/ecdsa_vrf.c
> - $(OPENSSL_PATH)/crypto/ec/eck_prn.c
> - $(OPENSSL_PATH)/crypto/ec/ecp_mont.c
> - $(OPENSSL_PATH)/crypto/ec/ecp_nist.c
> - $(OPENSSL_PATH)/crypto/ec/ecp_nistp224.c
> - $(OPENSSL_PATH)/crypto/ec/ecp_nistp256.c
> - $(OPENSSL_PATH)/crypto/ec/ecp_nistp521.c
> - $(OPENSSL_PATH)/crypto/ec/ecp_nistputil.c
> - $(OPENSSL_PATH)/crypto/ec/ecp_oct.c
> - $(OPENSSL_PATH)/crypto/ec/ecp_smpl.c
> - $(OPENSSL_PATH)/crypto/ec/ecx_meth.c
> $(OPENSSL_PATH)/crypto/err/err.c
> $(OPENSSL_PATH)/crypto/err/err_prn.c
> $(OPENSSL_PATH)/crypto/evp/bio_b64.c
> @@ -534,15 +497,6 @@
> $(OPENSSL_PATH)/crypto/conf/conf_local.h
> $(OPENSSL_PATH)/crypto/dh/dh_local.h
> $(OPENSSL_PATH)/crypto/dso/dso_local.h
> - $(OPENSSL_PATH)/crypto/ec/ec_local.h
> - $(OPENSSL_PATH)/crypto/ec/curve448/curve448_local.h
> - $(OPENSSL_PATH)/crypto/ec/curve448/curve448utils.h
> - $(OPENSSL_PATH)/crypto/ec/curve448/ed448.h
> - $(OPENSSL_PATH)/crypto/ec/curve448/field.h
> - $(OPENSSL_PATH)/crypto/ec/curve448/point_448.h
> - $(OPENSSL_PATH)/crypto/ec/curve448/word.h
> - $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/arch_intrinsics.h
> - $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/f_impl.h
> $(OPENSSL_PATH)/crypto/evp/evp_local.h
> $(OPENSSL_PATH)/crypto/hmac/hmac_local.h
> $(OPENSSL_PATH)/crypto/lhash/lhash_local.h
> @@ -620,6 +574,7 @@
> buildinf.h
> ossl_store.c
> rand_pool.c
> + EcSm2Null.c
>
> [Packages]
> MdePkg/MdePkg.dec
> diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
> b/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
> new file mode 100644
> index 0000000000..b07abec1af
> --- /dev/null
> +++ b/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
> @@ -0,0 +1,708 @@
> +## @file
> +# This module provides OpenSSL Library implementation with ECC feature.
> +#
> +# Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> #
> +(C) Copyright 2023 Hewlett Packard Enterprise Development LP<BR> #
> +SPDX-License-Identifier: BSD-2-Clause-Patent # ##
> +
> +[Defines]
> + INF_VERSION = 0x00010005
> + BASE_NAME = OpensslLib
> + MODULE_UNI_FILE = OpensslLib.uni
> + FILE_GUID = 00EA10C4-CB1F-4BCE-A8BA-DE21CD4EF540
> + MODULE_TYPE = BASE
> + VERSION_STRING = 1.0
> + LIBRARY_CLASS = OpensslLib
> + DEFINE OPENSSL_PATH = openssl
> + DEFINE OPENSSL_FLAGS = -DL_ENDIAN -
> DOPENSSL_SMALL_FOOTPRINT -D_CRT_SECURE_NO_DEPRECATE -
> D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_NO_ASM
> +
> +#
> +# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
> +#
> +
> +[Sources]
> + $(OPENSSL_PATH)/e_os.h
> + $(OPENSSL_PATH)/ms/uplink.h
> +# Autogenerated files list starts here
> + $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
> + $(OPENSSL_PATH)/crypto/aes/aes_cfb.c
> + $(OPENSSL_PATH)/crypto/aes/aes_core.c
> + $(OPENSSL_PATH)/crypto/aes/aes_ige.c
> + $(OPENSSL_PATH)/crypto/aes/aes_misc.c
> + $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
> + $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
> + $(OPENSSL_PATH)/crypto/aria/aria.c
> + $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
> + $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
> + $(OPENSSL_PATH)/crypto/asn1/a_digest.c
> + $(OPENSSL_PATH)/crypto/asn1/a_dup.c
> + $(OPENSSL_PATH)/crypto/asn1/a_gentm.c
> + $(OPENSSL_PATH)/crypto/asn1/a_i2d_fp.c
> + $(OPENSSL_PATH)/crypto/asn1/a_int.c
> + $(OPENSSL_PATH)/crypto/asn1/a_mbstr.c
> + $(OPENSSL_PATH)/crypto/asn1/a_object.c
> + $(OPENSSL_PATH)/crypto/asn1/a_octet.c
> + $(OPENSSL_PATH)/crypto/asn1/a_print.c
> + $(OPENSSL_PATH)/crypto/asn1/a_sign.c
> + $(OPENSSL_PATH)/crypto/asn1/a_strex.c
> + $(OPENSSL_PATH)/crypto/asn1/a_strnid.c
> + $(OPENSSL_PATH)/crypto/asn1/a_time.c
> + $(OPENSSL_PATH)/crypto/asn1/a_type.c
> + $(OPENSSL_PATH)/crypto/asn1/a_utctm.c
> + $(OPENSSL_PATH)/crypto/asn1/a_utf8.c
> + $(OPENSSL_PATH)/crypto/asn1/a_verify.c
> + $(OPENSSL_PATH)/crypto/asn1/ameth_lib.c
> + $(OPENSSL_PATH)/crypto/asn1/asn1_err.c
> + $(OPENSSL_PATH)/crypto/asn1/asn1_gen.c
> + $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.c
> + $(OPENSSL_PATH)/crypto/asn1/asn1_lib.c
> + $(OPENSSL_PATH)/crypto/asn1/asn1_par.c
> + $(OPENSSL_PATH)/crypto/asn1/asn_mime.c
> + $(OPENSSL_PATH)/crypto/asn1/asn_moid.c
> + $(OPENSSL_PATH)/crypto/asn1/asn_mstbl.c
> + $(OPENSSL_PATH)/crypto/asn1/asn_pack.c
> + $(OPENSSL_PATH)/crypto/asn1/bio_asn1.c
> + $(OPENSSL_PATH)/crypto/asn1/bio_ndef.c
> + $(OPENSSL_PATH)/crypto/asn1/d2i_pr.c
> + $(OPENSSL_PATH)/crypto/asn1/d2i_pu.c
> + $(OPENSSL_PATH)/crypto/asn1/evp_asn1.c
> + $(OPENSSL_PATH)/crypto/asn1/f_int.c
> + $(OPENSSL_PATH)/crypto/asn1/f_string.c
> + $(OPENSSL_PATH)/crypto/asn1/i2d_pr.c
> + $(OPENSSL_PATH)/crypto/asn1/i2d_pu.c
> + $(OPENSSL_PATH)/crypto/asn1/n_pkey.c
> + $(OPENSSL_PATH)/crypto/asn1/nsseq.c
> + $(OPENSSL_PATH)/crypto/asn1/p5_pbe.c
> + $(OPENSSL_PATH)/crypto/asn1/p5_pbev2.c
> + $(OPENSSL_PATH)/crypto/asn1/p5_scrypt.c
> + $(OPENSSL_PATH)/crypto/asn1/p8_pkey.c
> + $(OPENSSL_PATH)/crypto/asn1/t_bitst.c
> + $(OPENSSL_PATH)/crypto/asn1/t_pkey.c
> + $(OPENSSL_PATH)/crypto/asn1/t_spki.c
> + $(OPENSSL_PATH)/crypto/asn1/tasn_dec.c
> + $(OPENSSL_PATH)/crypto/asn1/tasn_enc.c
> + $(OPENSSL_PATH)/crypto/asn1/tasn_fre.c
> + $(OPENSSL_PATH)/crypto/asn1/tasn_new.c
> + $(OPENSSL_PATH)/crypto/asn1/tasn_prn.c
> + $(OPENSSL_PATH)/crypto/asn1/tasn_scn.c
> + $(OPENSSL_PATH)/crypto/asn1/tasn_typ.c
> + $(OPENSSL_PATH)/crypto/asn1/tasn_utl.c
> + $(OPENSSL_PATH)/crypto/asn1/x_algor.c
> + $(OPENSSL_PATH)/crypto/asn1/x_bignum.c
> + $(OPENSSL_PATH)/crypto/asn1/x_info.c
> + $(OPENSSL_PATH)/crypto/asn1/x_int64.c
> + $(OPENSSL_PATH)/crypto/asn1/x_long.c
> + $(OPENSSL_PATH)/crypto/asn1/x_pkey.c
> + $(OPENSSL_PATH)/crypto/asn1/x_sig.c
> + $(OPENSSL_PATH)/crypto/asn1/x_spki.c
> + $(OPENSSL_PATH)/crypto/asn1/x_val.c
> + $(OPENSSL_PATH)/crypto/async/arch/async_null.c
> + $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
> + $(OPENSSL_PATH)/crypto/async/arch/async_win.c
> + $(OPENSSL_PATH)/crypto/async/async.c
> + $(OPENSSL_PATH)/crypto/async/async_err.c
> + $(OPENSSL_PATH)/crypto/async/async_wait.c
> + $(OPENSSL_PATH)/crypto/bio/b_addr.c
> + $(OPENSSL_PATH)/crypto/bio/b_dump.c
> + $(OPENSSL_PATH)/crypto/bio/b_sock.c
> + $(OPENSSL_PATH)/crypto/bio/b_sock2.c
> + $(OPENSSL_PATH)/crypto/bio/bf_buff.c
> + $(OPENSSL_PATH)/crypto/bio/bf_lbuf.c
> + $(OPENSSL_PATH)/crypto/bio/bf_nbio.c
> + $(OPENSSL_PATH)/crypto/bio/bf_null.c
> + $(OPENSSL_PATH)/crypto/bio/bio_cb.c
> + $(OPENSSL_PATH)/crypto/bio/bio_err.c
> + $(OPENSSL_PATH)/crypto/bio/bio_lib.c
> + $(OPENSSL_PATH)/crypto/bio/bio_meth.c
> + $(OPENSSL_PATH)/crypto/bio/bss_acpt.c
> + $(OPENSSL_PATH)/crypto/bio/bss_bio.c
> + $(OPENSSL_PATH)/crypto/bio/bss_conn.c
> + $(OPENSSL_PATH)/crypto/bio/bss_dgram.c
> + $(OPENSSL_PATH)/crypto/bio/bss_fd.c
> + $(OPENSSL_PATH)/crypto/bio/bss_file.c
> + $(OPENSSL_PATH)/crypto/bio/bss_log.c
> + $(OPENSSL_PATH)/crypto/bio/bss_mem.c
> + $(OPENSSL_PATH)/crypto/bio/bss_null.c
> + $(OPENSSL_PATH)/crypto/bio/bss_sock.c
> + $(OPENSSL_PATH)/crypto/bn/bn_add.c
> + $(OPENSSL_PATH)/crypto/bn/bn_asm.c
> + $(OPENSSL_PATH)/crypto/bn/bn_blind.c
> + $(OPENSSL_PATH)/crypto/bn/bn_const.c
> + $(OPENSSL_PATH)/crypto/bn/bn_ctx.c
> + $(OPENSSL_PATH)/crypto/bn/bn_depr.c
> + $(OPENSSL_PATH)/crypto/bn/bn_dh.c
> + $(OPENSSL_PATH)/crypto/bn/bn_div.c
> + $(OPENSSL_PATH)/crypto/bn/bn_err.c
> + $(OPENSSL_PATH)/crypto/bn/bn_exp.c
> + $(OPENSSL_PATH)/crypto/bn/bn_exp2.c
> + $(OPENSSL_PATH)/crypto/bn/bn_gcd.c
> + $(OPENSSL_PATH)/crypto/bn/bn_gf2m.c
> + $(OPENSSL_PATH)/crypto/bn/bn_intern.c
> + $(OPENSSL_PATH)/crypto/bn/bn_kron.c
> + $(OPENSSL_PATH)/crypto/bn/bn_lib.c
> + $(OPENSSL_PATH)/crypto/bn/bn_mod.c
> + $(OPENSSL_PATH)/crypto/bn/bn_mont.c
> + $(OPENSSL_PATH)/crypto/bn/bn_mpi.c
> + $(OPENSSL_PATH)/crypto/bn/bn_mul.c
> + $(OPENSSL_PATH)/crypto/bn/bn_nist.c
> + $(OPENSSL_PATH)/crypto/bn/bn_prime.c
> + $(OPENSSL_PATH)/crypto/bn/bn_print.c
> + $(OPENSSL_PATH)/crypto/bn/bn_rand.c
> + $(OPENSSL_PATH)/crypto/bn/bn_recp.c
> + $(OPENSSL_PATH)/crypto/bn/bn_shift.c
> + $(OPENSSL_PATH)/crypto/bn/bn_sqr.c
> + $(OPENSSL_PATH)/crypto/bn/bn_sqrt.c
> + $(OPENSSL_PATH)/crypto/bn/bn_srp.c
> + $(OPENSSL_PATH)/crypto/bn/bn_word.c
> + $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
> + $(OPENSSL_PATH)/crypto/bn/rsa_sup_mul.c
> + $(OPENSSL_PATH)/crypto/buffer/buf_err.c
> + $(OPENSSL_PATH)/crypto/buffer/buffer.c
> + $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
> + $(OPENSSL_PATH)/crypto/cmac/cm_pmeth.c
> + $(OPENSSL_PATH)/crypto/cmac/cmac.c
> + $(OPENSSL_PATH)/crypto/comp/c_zlib.c
> + $(OPENSSL_PATH)/crypto/comp/comp_err.c
> + $(OPENSSL_PATH)/crypto/comp/comp_lib.c
> + $(OPENSSL_PATH)/crypto/conf/conf_api.c
> + $(OPENSSL_PATH)/crypto/conf/conf_def.c
> + $(OPENSSL_PATH)/crypto/conf/conf_err.c
> + $(OPENSSL_PATH)/crypto/conf/conf_lib.c
> + $(OPENSSL_PATH)/crypto/conf/conf_mall.c
> + $(OPENSSL_PATH)/crypto/conf/conf_mod.c
> + $(OPENSSL_PATH)/crypto/conf/conf_sap.c
> + $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
> + $(OPENSSL_PATH)/crypto/cpt_err.c
> + $(OPENSSL_PATH)/crypto/cryptlib.c
> + $(OPENSSL_PATH)/crypto/ctype.c
> + $(OPENSSL_PATH)/crypto/cversion.c
> + $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
> + $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
> + $(OPENSSL_PATH)/crypto/dh/dh_check.c
> + $(OPENSSL_PATH)/crypto/dh/dh_depr.c
> + $(OPENSSL_PATH)/crypto/dh/dh_err.c
> + $(OPENSSL_PATH)/crypto/dh/dh_gen.c
> + $(OPENSSL_PATH)/crypto/dh/dh_kdf.c
> + $(OPENSSL_PATH)/crypto/dh/dh_key.c
> + $(OPENSSL_PATH)/crypto/dh/dh_lib.c
> + $(OPENSSL_PATH)/crypto/dh/dh_meth.c
> + $(OPENSSL_PATH)/crypto/dh/dh_pmeth.c
> + $(OPENSSL_PATH)/crypto/dh/dh_prn.c
> + $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
> + $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
> + $(OPENSSL_PATH)/crypto/dso/dso_dl.c
> + $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
> + $(OPENSSL_PATH)/crypto/dso/dso_err.c
> + $(OPENSSL_PATH)/crypto/dso/dso_lib.c
> + $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
> + $(OPENSSL_PATH)/crypto/dso/dso_vms.c
> + $(OPENSSL_PATH)/crypto/dso/dso_win32.c
> + $(OPENSSL_PATH)/crypto/ebcdic.c
> + $(OPENSSL_PATH)/crypto/ec/curve25519.c
> + $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/f_impl.c
> + $(OPENSSL_PATH)/crypto/ec/curve448/curve448.c
> + $(OPENSSL_PATH)/crypto/ec/curve448/curve448_tables.c
> + $(OPENSSL_PATH)/crypto/ec/curve448/eddsa.c
> + $(OPENSSL_PATH)/crypto/ec/curve448/f_generic.c
> + $(OPENSSL_PATH)/crypto/ec/curve448/scalar.c
> + $(OPENSSL_PATH)/crypto/ec/ec2_oct.c
> + $(OPENSSL_PATH)/crypto/ec/ec2_smpl.c
> + $(OPENSSL_PATH)/crypto/ec/ec_ameth.c
> + $(OPENSSL_PATH)/crypto/ec/ec_asn1.c
> + $(OPENSSL_PATH)/crypto/ec/ec_check.c
> + $(OPENSSL_PATH)/crypto/ec/ec_curve.c
> + $(OPENSSL_PATH)/crypto/ec/ec_cvt.c
> + $(OPENSSL_PATH)/crypto/ec/ec_err.c
> + $(OPENSSL_PATH)/crypto/ec/ec_key.c
> + $(OPENSSL_PATH)/crypto/ec/ec_kmeth.c
> + $(OPENSSL_PATH)/crypto/ec/ec_lib.c
> + $(OPENSSL_PATH)/crypto/ec/ec_mult.c
> + $(OPENSSL_PATH)/crypto/ec/ec_oct.c
> + $(OPENSSL_PATH)/crypto/ec/ec_pmeth.c
> + $(OPENSSL_PATH)/crypto/ec/ec_print.c
> + $(OPENSSL_PATH)/crypto/ec/ecdh_kdf.c
> + $(OPENSSL_PATH)/crypto/ec/ecdh_ossl.c
> + $(OPENSSL_PATH)/crypto/ec/ecdsa_ossl.c
> + $(OPENSSL_PATH)/crypto/ec/ecdsa_sign.c
> + $(OPENSSL_PATH)/crypto/ec/ecdsa_vrf.c
> + $(OPENSSL_PATH)/crypto/ec/eck_prn.c
> + $(OPENSSL_PATH)/crypto/ec/ecp_mont.c
> + $(OPENSSL_PATH)/crypto/ec/ecp_nist.c
> + $(OPENSSL_PATH)/crypto/ec/ecp_nistp224.c
> + $(OPENSSL_PATH)/crypto/ec/ecp_nistp256.c
> + $(OPENSSL_PATH)/crypto/ec/ecp_nistp521.c
> + $(OPENSSL_PATH)/crypto/ec/ecp_nistputil.c
> + $(OPENSSL_PATH)/crypto/ec/ecp_oct.c
> + $(OPENSSL_PATH)/crypto/ec/ecp_smpl.c
> + $(OPENSSL_PATH)/crypto/ec/ecx_meth.c
> + $(OPENSSL_PATH)/crypto/err/err.c
> + $(OPENSSL_PATH)/crypto/err/err_prn.c
> + $(OPENSSL_PATH)/crypto/evp/bio_b64.c
> + $(OPENSSL_PATH)/crypto/evp/bio_enc.c
> + $(OPENSSL_PATH)/crypto/evp/bio_md.c
> + $(OPENSSL_PATH)/crypto/evp/bio_ok.c
> + $(OPENSSL_PATH)/crypto/evp/c_allc.c
> + $(OPENSSL_PATH)/crypto/evp/c_alld.c
> + $(OPENSSL_PATH)/crypto/evp/cmeth_lib.c
> + $(OPENSSL_PATH)/crypto/evp/digest.c
> + $(OPENSSL_PATH)/crypto/evp/e_aes.c
> + $(OPENSSL_PATH)/crypto/evp/e_aes_cbc_hmac_sha1.c
> + $(OPENSSL_PATH)/crypto/evp/e_aes_cbc_hmac_sha256.c
> + $(OPENSSL_PATH)/crypto/evp/e_aria.c
> + $(OPENSSL_PATH)/crypto/evp/e_bf.c
> + $(OPENSSL_PATH)/crypto/evp/e_camellia.c
> + $(OPENSSL_PATH)/crypto/evp/e_cast.c
> + $(OPENSSL_PATH)/crypto/evp/e_chacha20_poly1305.c
> + $(OPENSSL_PATH)/crypto/evp/e_des.c
> + $(OPENSSL_PATH)/crypto/evp/e_des3.c
> + $(OPENSSL_PATH)/crypto/evp/e_idea.c
> + $(OPENSSL_PATH)/crypto/evp/e_null.c
> + $(OPENSSL_PATH)/crypto/evp/e_old.c
> + $(OPENSSL_PATH)/crypto/evp/e_rc2.c
> + $(OPENSSL_PATH)/crypto/evp/e_rc4.c
> + $(OPENSSL_PATH)/crypto/evp/e_rc4_hmac_md5.c
> + $(OPENSSL_PATH)/crypto/evp/e_rc5.c
> + $(OPENSSL_PATH)/crypto/evp/e_seed.c
> + $(OPENSSL_PATH)/crypto/evp/e_sm4.c
> + $(OPENSSL_PATH)/crypto/evp/e_xcbc_d.c
> + $(OPENSSL_PATH)/crypto/evp/encode.c
> + $(OPENSSL_PATH)/crypto/evp/evp_cnf.c
> + $(OPENSSL_PATH)/crypto/evp/evp_enc.c
> + $(OPENSSL_PATH)/crypto/evp/evp_err.c
> + $(OPENSSL_PATH)/crypto/evp/evp_key.c
> + $(OPENSSL_PATH)/crypto/evp/evp_lib.c
> + $(OPENSSL_PATH)/crypto/evp/evp_pbe.c
> + $(OPENSSL_PATH)/crypto/evp/evp_pkey.c
> + $(OPENSSL_PATH)/crypto/evp/m_md2.c
> + $(OPENSSL_PATH)/crypto/evp/m_md4.c
> + $(OPENSSL_PATH)/crypto/evp/m_md5.c
> + $(OPENSSL_PATH)/crypto/evp/m_md5_sha1.c
> + $(OPENSSL_PATH)/crypto/evp/m_mdc2.c
> + $(OPENSSL_PATH)/crypto/evp/m_null.c
> + $(OPENSSL_PATH)/crypto/evp/m_ripemd.c
> + $(OPENSSL_PATH)/crypto/evp/m_sha1.c
> + $(OPENSSL_PATH)/crypto/evp/m_sha3.c
> + $(OPENSSL_PATH)/crypto/evp/m_sigver.c
> + $(OPENSSL_PATH)/crypto/evp/m_wp.c
> + $(OPENSSL_PATH)/crypto/evp/names.c
> + $(OPENSSL_PATH)/crypto/evp/p5_crpt.c
> + $(OPENSSL_PATH)/crypto/evp/p5_crpt2.c
> + $(OPENSSL_PATH)/crypto/evp/p_dec.c
> + $(OPENSSL_PATH)/crypto/evp/p_enc.c
> + $(OPENSSL_PATH)/crypto/evp/p_lib.c
> + $(OPENSSL_PATH)/crypto/evp/p_open.c
> + $(OPENSSL_PATH)/crypto/evp/p_seal.c
> + $(OPENSSL_PATH)/crypto/evp/p_sign.c
> + $(OPENSSL_PATH)/crypto/evp/p_verify.c
> + $(OPENSSL_PATH)/crypto/evp/pbe_scrypt.c
> + $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
> + $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
> + $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
> + $(OPENSSL_PATH)/crypto/ex_data.c
> + $(OPENSSL_PATH)/crypto/getenv.c
> + $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
> + $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
> + $(OPENSSL_PATH)/crypto/hmac/hmac.c
> + $(OPENSSL_PATH)/crypto/init.c
> + $(OPENSSL_PATH)/crypto/kdf/hkdf.c
> + $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
> + $(OPENSSL_PATH)/crypto/kdf/scrypt.c
> + $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
> + $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
> + $(OPENSSL_PATH)/crypto/lhash/lhash.c
> + $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
> + $(OPENSSL_PATH)/crypto/md5/md5_one.c
> + $(OPENSSL_PATH)/crypto/mem.c
> + $(OPENSSL_PATH)/crypto/mem_clr.c
> + $(OPENSSL_PATH)/crypto/mem_dbg.c
> + $(OPENSSL_PATH)/crypto/mem_sec.c
> + $(OPENSSL_PATH)/crypto/modes/cbc128.c
> + $(OPENSSL_PATH)/crypto/modes/ccm128.c
> + $(OPENSSL_PATH)/crypto/modes/cfb128.c
> + $(OPENSSL_PATH)/crypto/modes/ctr128.c
> + $(OPENSSL_PATH)/crypto/modes/cts128.c
> + $(OPENSSL_PATH)/crypto/modes/gcm128.c
> + $(OPENSSL_PATH)/crypto/modes/ocb128.c
> + $(OPENSSL_PATH)/crypto/modes/ofb128.c
> + $(OPENSSL_PATH)/crypto/modes/wrap128.c
> + $(OPENSSL_PATH)/crypto/modes/xts128.c
> + $(OPENSSL_PATH)/crypto/o_dir.c
> + $(OPENSSL_PATH)/crypto/o_fips.c
> + $(OPENSSL_PATH)/crypto/o_fopen.c
> + $(OPENSSL_PATH)/crypto/o_init.c
> + $(OPENSSL_PATH)/crypto/o_str.c
> + $(OPENSSL_PATH)/crypto/o_time.c
> + $(OPENSSL_PATH)/crypto/objects/o_names.c
> + $(OPENSSL_PATH)/crypto/objects/obj_dat.c
> + $(OPENSSL_PATH)/crypto/objects/obj_err.c
> + $(OPENSSL_PATH)/crypto/objects/obj_lib.c
> + $(OPENSSL_PATH)/crypto/objects/obj_xref.c
> + $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
> + $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
> + $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
> + $(OPENSSL_PATH)/crypto/ocsp/ocsp_ext.c
> + $(OPENSSL_PATH)/crypto/ocsp/ocsp_ht.c
> + $(OPENSSL_PATH)/crypto/ocsp/ocsp_lib.c
> + $(OPENSSL_PATH)/crypto/ocsp/ocsp_prn.c
> + $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
> + $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
> + $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
> + $(OPENSSL_PATH)/crypto/pem/pem_all.c
> + $(OPENSSL_PATH)/crypto/pem/pem_err.c
> + $(OPENSSL_PATH)/crypto/pem/pem_info.c
> + $(OPENSSL_PATH)/crypto/pem/pem_lib.c
> + $(OPENSSL_PATH)/crypto/pem/pem_oth.c
> + $(OPENSSL_PATH)/crypto/pem/pem_pk8.c
> + $(OPENSSL_PATH)/crypto/pem/pem_pkey.c
> + $(OPENSSL_PATH)/crypto/pem/pem_sign.c
> + $(OPENSSL_PATH)/crypto/pem/pem_x509.c
> + $(OPENSSL_PATH)/crypto/pem/pem_xaux.c
> + $(OPENSSL_PATH)/crypto/pem/pvkfmt.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_add.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_asn.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_attr.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_crpt.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_crt.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_decr.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_init.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_key.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_kiss.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_mutl.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_npas.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_p8d.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_p8e.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_sbag.c
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_utl.c
> + $(OPENSSL_PATH)/crypto/pkcs12/pk12err.c
> + $(OPENSSL_PATH)/crypto/pkcs7/bio_pk7.c
> + $(OPENSSL_PATH)/crypto/pkcs7/pk7_asn1.c
> + $(OPENSSL_PATH)/crypto/pkcs7/pk7_attr.c
> + $(OPENSSL_PATH)/crypto/pkcs7/pk7_doit.c
> + $(OPENSSL_PATH)/crypto/pkcs7/pk7_lib.c
> + $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
> + $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
> + $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
> + $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
> + $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
> + $(OPENSSL_PATH)/crypto/rand/rand_egd.c
> + $(OPENSSL_PATH)/crypto/rand/rand_err.c
> + $(OPENSSL_PATH)/crypto/rand/rand_lib.c
> + $(OPENSSL_PATH)/crypto/rand/rand_unix.c
> + $(OPENSSL_PATH)/crypto/rand/rand_vms.c
> + $(OPENSSL_PATH)/crypto/rand/rand_win.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_crpt.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_depr.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_err.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_gen.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_lib.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_meth.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_mp.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_none.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_oaep.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_ossl.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_pk1.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_pmeth.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_prn.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_pss.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_saos.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_sign.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
> + $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
> + $(OPENSSL_PATH)/crypto/sha/keccak1600.c
> + $(OPENSSL_PATH)/crypto/sha/sha1_one.c
> + $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
> + $(OPENSSL_PATH)/crypto/sha/sha256.c
> + $(OPENSSL_PATH)/crypto/sha/sha512.c
> + $(OPENSSL_PATH)/crypto/siphash/siphash.c
> + $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
> + $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
> + $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
> + $(OPENSSL_PATH)/crypto/sm3/sm3.c
> + $(OPENSSL_PATH)/crypto/sm4/sm4.c
> + $(OPENSSL_PATH)/crypto/stack/stack.c
> + $(OPENSSL_PATH)/crypto/threads_none.c
> + $(OPENSSL_PATH)/crypto/threads_pthread.c
> + $(OPENSSL_PATH)/crypto/threads_win.c
> + $(OPENSSL_PATH)/crypto/txt_db/txt_db.c
> + $(OPENSSL_PATH)/crypto/ui/ui_err.c
> + $(OPENSSL_PATH)/crypto/ui/ui_lib.c
> + $(OPENSSL_PATH)/crypto/ui/ui_null.c
> + $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
> + $(OPENSSL_PATH)/crypto/ui/ui_util.c
> + $(OPENSSL_PATH)/crypto/uid.c
> + $(OPENSSL_PATH)/crypto/x509/by_dir.c
> + $(OPENSSL_PATH)/crypto/x509/by_file.c
> + $(OPENSSL_PATH)/crypto/x509/t_crl.c
> + $(OPENSSL_PATH)/crypto/x509/t_req.c
> + $(OPENSSL_PATH)/crypto/x509/t_x509.c
> + $(OPENSSL_PATH)/crypto/x509/x509_att.c
> + $(OPENSSL_PATH)/crypto/x509/x509_cmp.c
> + $(OPENSSL_PATH)/crypto/x509/x509_d2.c
> + $(OPENSSL_PATH)/crypto/x509/x509_def.c
> + $(OPENSSL_PATH)/crypto/x509/x509_err.c
> + $(OPENSSL_PATH)/crypto/x509/x509_ext.c
> + $(OPENSSL_PATH)/crypto/x509/x509_lu.c
> + $(OPENSSL_PATH)/crypto/x509/x509_meth.c
> + $(OPENSSL_PATH)/crypto/x509/x509_obj.c
> + $(OPENSSL_PATH)/crypto/x509/x509_r2x.c
> + $(OPENSSL_PATH)/crypto/x509/x509_req.c
> + $(OPENSSL_PATH)/crypto/x509/x509_set.c
> + $(OPENSSL_PATH)/crypto/x509/x509_trs.c
> + $(OPENSSL_PATH)/crypto/x509/x509_txt.c
> + $(OPENSSL_PATH)/crypto/x509/x509_v3.c
> + $(OPENSSL_PATH)/crypto/x509/x509_vfy.c
> + $(OPENSSL_PATH)/crypto/x509/x509_vpm.c
> + $(OPENSSL_PATH)/crypto/x509/x509cset.c
> + $(OPENSSL_PATH)/crypto/x509/x509name.c
> + $(OPENSSL_PATH)/crypto/x509/x509rset.c
> + $(OPENSSL_PATH)/crypto/x509/x509spki.c
> + $(OPENSSL_PATH)/crypto/x509/x509type.c
> + $(OPENSSL_PATH)/crypto/x509/x_all.c
> + $(OPENSSL_PATH)/crypto/x509/x_attrib.c
> + $(OPENSSL_PATH)/crypto/x509/x_crl.c
> + $(OPENSSL_PATH)/crypto/x509/x_exten.c
> + $(OPENSSL_PATH)/crypto/x509/x_name.c
> + $(OPENSSL_PATH)/crypto/x509/x_pubkey.c
> + $(OPENSSL_PATH)/crypto/x509/x_req.c
> + $(OPENSSL_PATH)/crypto/x509/x_x509.c
> + $(OPENSSL_PATH)/crypto/x509/x_x509a.c
> + $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
> + $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
> + $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
> + $(OPENSSL_PATH)/crypto/x509v3/pcy_map.c
> + $(OPENSSL_PATH)/crypto/x509v3/pcy_node.c
> + $(OPENSSL_PATH)/crypto/x509v3/pcy_tree.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_addr.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_admis.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_akey.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_akeya.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_alt.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_asid.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_bcons.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_bitst.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_conf.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_cpols.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_crld.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_enum.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_extku.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_genn.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_ia5.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_info.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_int.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_lib.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_ncons.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_pci.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_pcia.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_pcons.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_pku.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_pmaps.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_prn.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_purp.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_skey.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_sxnet.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
> + $(OPENSSL_PATH)/crypto/x509v3/v3err.c
> + $(OPENSSL_PATH)/crypto/arm_arch.h
> + $(OPENSSL_PATH)/crypto/mips_arch.h
> + $(OPENSSL_PATH)/crypto/ppc_arch.h
> + $(OPENSSL_PATH)/crypto/s390x_arch.h
> + $(OPENSSL_PATH)/crypto/sparc_arch.h
> + $(OPENSSL_PATH)/crypto/vms_rms.h
> + $(OPENSSL_PATH)/crypto/aes/aes_local.h
> + $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
> + $(OPENSSL_PATH)/crypto/asn1/asn1_local.h
> + $(OPENSSL_PATH)/crypto/asn1/charmap.h
> + $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
> + $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
> + $(OPENSSL_PATH)/crypto/async/async_local.h
> + $(OPENSSL_PATH)/crypto/async/arch/async_null.h
> + $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
> + $(OPENSSL_PATH)/crypto/async/arch/async_win.h
> + $(OPENSSL_PATH)/crypto/bio/bio_local.h
> + $(OPENSSL_PATH)/crypto/bn/bn_local.h
> + $(OPENSSL_PATH)/crypto/bn/bn_prime.h
> + $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
> + $(OPENSSL_PATH)/crypto/comp/comp_local.h
> + $(OPENSSL_PATH)/crypto/conf/conf_def.h
> + $(OPENSSL_PATH)/crypto/conf/conf_local.h
> + $(OPENSSL_PATH)/crypto/dh/dh_local.h
> + $(OPENSSL_PATH)/crypto/dso/dso_local.h
> + $(OPENSSL_PATH)/crypto/ec/ec_local.h
> + $(OPENSSL_PATH)/crypto/ec/curve448/curve448_local.h
> + $(OPENSSL_PATH)/crypto/ec/curve448/curve448utils.h
> + $(OPENSSL_PATH)/crypto/ec/curve448/ed448.h
> + $(OPENSSL_PATH)/crypto/ec/curve448/field.h
> + $(OPENSSL_PATH)/crypto/ec/curve448/point_448.h
> + $(OPENSSL_PATH)/crypto/ec/curve448/word.h
> + $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/arch_intrinsics.h
> + $(OPENSSL_PATH)/crypto/ec/curve448/arch_32/f_impl.h
> + $(OPENSSL_PATH)/crypto/evp/evp_local.h
> + $(OPENSSL_PATH)/crypto/hmac/hmac_local.h
> + $(OPENSSL_PATH)/crypto/lhash/lhash_local.h
> + $(OPENSSL_PATH)/crypto/md5/md5_local.h
> + $(OPENSSL_PATH)/crypto/modes/modes_local.h
> + $(OPENSSL_PATH)/crypto/objects/obj_dat.h
> + $(OPENSSL_PATH)/crypto/objects/obj_local.h
> + $(OPENSSL_PATH)/crypto/objects/obj_xref.h
> + $(OPENSSL_PATH)/crypto/ocsp/ocsp_local.h
> + $(OPENSSL_PATH)/crypto/pkcs12/p12_local.h
> + $(OPENSSL_PATH)/crypto/rand/rand_local.h
> + $(OPENSSL_PATH)/crypto/rsa/rsa_local.h
> + $(OPENSSL_PATH)/crypto/sha/sha_local.h
> + $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
> + $(OPENSSL_PATH)/crypto/sm3/sm3_local.h
> + $(OPENSSL_PATH)/crypto/store/store_local.h
> + $(OPENSSL_PATH)/crypto/ui/ui_local.h
> + $(OPENSSL_PATH)/crypto/x509/x509_local.h
> + $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
> + $(OPENSSL_PATH)/crypto/x509v3/pcy_local.h
> + $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
> + $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
> + $(OPENSSL_PATH)/ssl/bio_ssl.c
> + $(OPENSSL_PATH)/ssl/d1_lib.c
> + $(OPENSSL_PATH)/ssl/d1_msg.c
> + $(OPENSSL_PATH)/ssl/d1_srtp.c
> + $(OPENSSL_PATH)/ssl/methods.c
> + $(OPENSSL_PATH)/ssl/packet.c
> + $(OPENSSL_PATH)/ssl/pqueue.c
> + $(OPENSSL_PATH)/ssl/record/dtls1_bitmap.c
> + $(OPENSSL_PATH)/ssl/record/rec_layer_d1.c
> + $(OPENSSL_PATH)/ssl/record/rec_layer_s3.c
> + $(OPENSSL_PATH)/ssl/record/ssl3_buffer.c
> + $(OPENSSL_PATH)/ssl/record/ssl3_record.c
> + $(OPENSSL_PATH)/ssl/record/ssl3_record_tls13.c
> + $(OPENSSL_PATH)/ssl/s3_cbc.c
> + $(OPENSSL_PATH)/ssl/s3_enc.c
> + $(OPENSSL_PATH)/ssl/s3_lib.c
> + $(OPENSSL_PATH)/ssl/s3_msg.c
> + $(OPENSSL_PATH)/ssl/ssl_asn1.c
> + $(OPENSSL_PATH)/ssl/ssl_cert.c
> + $(OPENSSL_PATH)/ssl/ssl_ciph.c
> + $(OPENSSL_PATH)/ssl/ssl_conf.c
> + $(OPENSSL_PATH)/ssl/ssl_err.c
> + $(OPENSSL_PATH)/ssl/ssl_init.c
> + $(OPENSSL_PATH)/ssl/ssl_lib.c
> + $(OPENSSL_PATH)/ssl/ssl_mcnf.c
> + $(OPENSSL_PATH)/ssl/ssl_rsa.c
> + $(OPENSSL_PATH)/ssl/ssl_sess.c
> + $(OPENSSL_PATH)/ssl/ssl_stat.c
> + $(OPENSSL_PATH)/ssl/ssl_txt.c
> + $(OPENSSL_PATH)/ssl/ssl_utst.c
> + $(OPENSSL_PATH)/ssl/statem/extensions.c
> + $(OPENSSL_PATH)/ssl/statem/extensions_clnt.c
> + $(OPENSSL_PATH)/ssl/statem/extensions_cust.c
> + $(OPENSSL_PATH)/ssl/statem/extensions_srvr.c
> + $(OPENSSL_PATH)/ssl/statem/statem.c
> + $(OPENSSL_PATH)/ssl/statem/statem_clnt.c
> + $(OPENSSL_PATH)/ssl/statem/statem_dtls.c
> + $(OPENSSL_PATH)/ssl/statem/statem_lib.c
> + $(OPENSSL_PATH)/ssl/statem/statem_srvr.c
> + $(OPENSSL_PATH)/ssl/t1_enc.c
> + $(OPENSSL_PATH)/ssl/t1_lib.c
> + $(OPENSSL_PATH)/ssl/t1_trce.c
> + $(OPENSSL_PATH)/ssl/tls13_enc.c
> + $(OPENSSL_PATH)/ssl/tls_srp.c
> + $(OPENSSL_PATH)/ssl/packet_local.h
> + $(OPENSSL_PATH)/ssl/ssl_cert_table.h
> + $(OPENSSL_PATH)/ssl/ssl_local.h
> + $(OPENSSL_PATH)/ssl/record/record.h
> + $(OPENSSL_PATH)/ssl/record/record_local.h
> + $(OPENSSL_PATH)/ssl/statem/statem.h
> + $(OPENSSL_PATH)/ssl/statem/statem_local.h
> +# Autogenerated files list ends here
> + buildinf.h
> + ossl_store.c
> + rand_pool.c
> +
> +[Packages]
> + MdePkg/MdePkg.dec
> + CryptoPkg/CryptoPkg.dec
> +
> +[LibraryClasses]
> + BaseLib
> + DebugLib
> + RngLib
> + PrintLib
> +
> +[LibraryClasses.ARM]
> + ArmSoftFloatLib
> +
> +[BuildOptions]
> + #
> + # Disables the following Visual Studio compiler warnings brought by
> +openssl source,
> + # so we do not break the build with /WX option:
> + # C4090: 'function' : different 'const' qualifiers
> + # C4132: 'object' : const object should be initialized (tls13_enc.c)
> + # C4244: conversion from type1 to type2, possible loss of data
> + # C4245: conversion from type1 to type2, signed/unsigned mismatch
> + # C4267: conversion from size_t to type, possible loss of data
> + # C4306: 'identifier' : conversion from 'type1' to 'type2' of greater size
> + # C4310: cast truncates constant value
> + # C4389: 'operator' : signed/unsigned mismatch (xxxx)
> + # C4700: uninitialized local variable 'name' used. (conf_sap.c(71))
> + # C4702: unreachable code
> + # C4706: assignment within conditional expression
> + # C4819: The file contains a character that cannot be represented in the
> current code page
> + #
> + MSFT:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER
> $(OPENSSL_FLAGS) /wd4090 /wd4132 /wd4244 /wd4245 /wd4267 /wd4310
> /wd4389 /wd4700 /wd4702 /wd4706 /wd4819
> + MSFT:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER
> $(OPENSSL_FLAGS) /wd4090 /wd4132 /wd4244 /wd4245 /wd4267 /wd4306
> /wd4310 /wd4700 /wd4389 /wd4702 /wd4706 /wd4819
> +
> + INTEL:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER -U__ICC
> $(OPENSSL_FLAGS) /w
> + INTEL:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER -U__ICC
> $(OPENSSL_FLAGS) /w
> +
> + #
> + # Suppress the following build warnings in openssl so we don't break the
> build with -Werror
> + # -Werror=maybe-uninitialized: there exist some other paths for which
> the variable is not initialized.
> + # -Werror=format: Check calls to printf and scanf, etc., to make sure that
> the arguments supplied have
> + # types appropriate to the format string specified.
> + # -Werror=unused-but-set-variable: Warn whenever a local variable is
> assigned to, but otherwise unused (aside from its declaration).
> + #
> + GCC:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -
> Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable
> + GCC:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -
> Wno-error=maybe-uninitialized -Wno-error=format -Wno-format -Wno-
> error=unused-but-set-variable -DNO_MSABI_VA_FUNCS
> + GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-
> uninitialized -Wno-error=unused-but-set-variable
> + GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS)
> + -Wno-error=maybe-uninitialized -Wno-format
> + -Wno-error=unused-but-set-variable
> + GCC:*_*_RISCV64_CC_FLAGS = $(OPENSSL_FLAGS)
> + -Wno-error=maybe-uninitialized -Wno-format
> + -Wno-error=unused-but-set-variable
> + GCC:*_CLANG35_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized
> + GCC:*_CLANG38_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized
> + GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized
> + -Wno-error=incompatible-pointer-types -Wno-error=pointer-sign
> + -Wno-error=implicit-function-declaration
> + -Wno-error=ignored-pragma-optimize
> +
> + # suppress the following warnings in openssl so we don't break the build
> with warnings-as-errors:
> + # 1295: Deprecated declaration <entity> - give arg types # 550:
> + <entity> was set but never used # 1293: assignment in condition #
> + 111: statement is unreachable (invariably "break;" after "return X;" in case
> statement)
> + # 68: integer conversion resulted in a change of sign ("if (Status == -1)")
> + # 177: <entity> was declared but never referenced # 223: function
> + <entity> declared implicitly # 144: a value of type <type> cannot be
> + used to initialize an entity of type <type> # 513: a value of type
> + <type> cannot be assigned to an entity of type <type> # 188:
> + enumerated type mixed with another type (i.e. passing an integer as an
> + enum without a cast) # 1296: Extended constant initialiser used #
> + 128: loop is not reachable - may be emitted inappropriately if code follows
> a conditional return
> + # from the function that evaluates to true at compile time
> + # 546: transfer of control bypasses initialization - may be emitted
> inappropriately if the uninitialized
> + # variable is never referenced after the jump
> + # 1: ignore "#1-D: last line of file ends without a newline"
> + # 3017: <entity> may be used before being set (NOTE: This was fixed in
> OpenSSL 1.1 HEAD with
> + # commit d9b8b89bec4480de3a10bdaf9425db371c19145b, and can be
> dropped then.)
> + RVCT:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) --
> library_interface=aeabi_clib99 --
> diag_suppress=1296,1295,550,1293,111,68,177,223,144,513,188,128,546,1,3
> 017 -JCryptoPkg/Include
> + XCODE:*_*_IA32_CC_FLAGS = -mmmx -msse -U_WIN32 -U_WIN64
> $(OPENSSL_FLAGS) -w -std=c99 -Wno-error=uninitialized
> + XCODE:*_*_X64_CC_FLAGS = -mmmx -msse -U_WIN32 -U_WIN64
> $(OPENSSL_FLAGS) -w -std=c99 -Wno-error=uninitialized
> +
> + #
> + # AARCH64 uses strict alignment and avoids SIMD registers for code
> + that may execute # with the MMU off. This involves SEC, PEI_CORE and
> + PEIM modules as well as BASE # libraries, given that they may be included
> into such modules.
> + # This library, even though of the BASE type, is never used in such
> + cases, and # avoiding the SIMD register file (which is shared with
> + the FPU) prevents the # compiler from successfully building some of
> + the OpenSSL source files that # use floating point types, so clear the flags
> here.
> + #
> + GCC:*_*_AARCH64_CC_XIPFLAGS ==
> --
> 2.31.1.windows.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-22 7:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-22 6:38 [edk2-staging/crypto-new-api][PATCH] CryptoPkg: Move ECC feature to OpensslLibFull Li, Yi
2023-03-22 7:28 ` Heng Luo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox