# Copyright 2024 The Pigweed Authors # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations under # the License. include_guard(GLOBAL) include($ENV{PW_ROOT}/pw_build/pigweed.cmake) set(dir_pw_third_party_boringssl "" CACHE PATH "Path to the boringssl installation.") if("${dir_pw_third_party_boringssl}" STREQUAL "") pw_add_error_target(pw_third_party.boringssl MESSAGE "Attempted to use boringssl without configuring it, see " "pigweed.dev/third_party/boringssl/" ) return() endif() pw_add_library(pw_third_party.boringssl.public_config INTERFACE PUBLIC_INCLUDES ${dir_pw_third_party_boringssl}/src/include public PUBLIC_DEFINES OPENSSL_NO_THREADS_CORRUPT_MEMORY_AND_LEAK_SECRETS_IF_THREADED ) # Hardcoding overrides to use pw_assert. This could potentially be done in a # more clever way. pw_add_library(pw_third_party.boringssl.private_config INTERFACE PRIVATE_INCLUDES ${dir_pw_third_party_boringssl} PUBLIC_DEFINES BORINGSSL_ALLOW_CXX_RUNTIME OPENSSL_SMALL OPENSSL_NO_ASM OPENSSL_NO_SOCK NDEBUG PUBLIC_COMPILE_OPTIONS # Note: These need to be public when compiling boringssl, but this config # is added as a private dependency below which prevents the flags from # propagating to dependents of boringssl. -Wno-unused-function -Wno-conversion -Wno-unused-parameter -Wno-char-subscripts -Wno-cast-qual -Wno-nested-anon-types -Wno-gnu-anonymous-struct -Wno-overlength-strings -Wno-extra-semi -Wno-deprecated-this-capture -fpermissive ) pw_add_library(pw_third_party.boringssl STATIC SOURCES ${dir_pw_third_party_boringssl}/err_data.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_bitstr.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_bool.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_d2i_fp.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_dup.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_gentm.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_i2d_fp.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_int.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_mbstr.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_object.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_octet.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_strex.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_strnid.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_time.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_type.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/a_utctm.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/asn1_lib.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/asn1_par.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/asn_pack.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/f_int.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/f_string.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/internal.h ${dir_pw_third_party_boringssl}/src/crypto/asn1/posix_time.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/tasn_dec.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/tasn_enc.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/tasn_fre.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/tasn_new.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/tasn_typ.c ${dir_pw_third_party_boringssl}/src/crypto/asn1/tasn_utl.c ${dir_pw_third_party_boringssl}/src/crypto/base64/base64.c ${dir_pw_third_party_boringssl}/src/crypto/bio/bio.c ${dir_pw_third_party_boringssl}/src/crypto/bio/bio_mem.c #src/crypto/bio/connect.c ${dir_pw_third_party_boringssl}/src/crypto/bio/errno.c #src/crypto/bio/fd.c ${dir_pw_third_party_boringssl}/src/crypto/bio/file.c ${dir_pw_third_party_boringssl}/src/crypto/bio/hexdump.c ${dir_pw_third_party_boringssl}/src/crypto/bio/internal.h ${dir_pw_third_party_boringssl}/src/crypto/bio/pair.c ${dir_pw_third_party_boringssl}/src/crypto/bio/printf.c #src/crypto/bio/socket.c #src/crypto/bio/socket_helper.c ${dir_pw_third_party_boringssl}/src/crypto/blake2/blake2.c ${dir_pw_third_party_boringssl}/src/crypto/bn_extra/bn_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/bn_extra/convert.c ${dir_pw_third_party_boringssl}/src/crypto/buf/buf.c ${dir_pw_third_party_boringssl}/src/crypto/bytestring/asn1_compat.c ${dir_pw_third_party_boringssl}/src/crypto/bytestring/ber.c ${dir_pw_third_party_boringssl}/src/crypto/bytestring/cbb.c ${dir_pw_third_party_boringssl}/src/crypto/bytestring/cbs.c ${dir_pw_third_party_boringssl}/src/crypto/bytestring/internal.h ${dir_pw_third_party_boringssl}/src/crypto/bytestring/unicode.c ${dir_pw_third_party_boringssl}/src/crypto/chacha/chacha.c ${dir_pw_third_party_boringssl}/src/crypto/chacha/internal.h ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/cipher_extra.c ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/derive_key.c ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/e_aesctrhmac.c ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/e_aesgcmsiv.c ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/e_chacha20poly1305.c ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/e_des.c ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/e_null.c ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/e_rc2.c ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/e_rc4.c ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/e_tls.c ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/internal.h ${dir_pw_third_party_boringssl}/src/crypto/cipher_extra/tls_cbc.c ${dir_pw_third_party_boringssl}/src/crypto/conf/conf.c ${dir_pw_third_party_boringssl}/src/crypto/conf/conf_def.h ${dir_pw_third_party_boringssl}/src/crypto/conf/internal.h ${dir_pw_third_party_boringssl}/src/crypto/cpu_aarch64_apple.c ${dir_pw_third_party_boringssl}/src/crypto/cpu_aarch64_fuchsia.c ${dir_pw_third_party_boringssl}/src/crypto/cpu_aarch64_linux.c ${dir_pw_third_party_boringssl}/src/crypto/cpu_aarch64_openbsd.c ${dir_pw_third_party_boringssl}/src/crypto/cpu_aarch64_sysreg.c ${dir_pw_third_party_boringssl}/src/crypto/cpu_aarch64_win.c ${dir_pw_third_party_boringssl}/src/crypto/cpu_arm_freebsd.c ${dir_pw_third_party_boringssl}/src/crypto/cpu_arm_linux.c ${dir_pw_third_party_boringssl}/src/crypto/cpu_arm_linux.h ${dir_pw_third_party_boringssl}/src/crypto/cpu_intel.c ${dir_pw_third_party_boringssl}/src/crypto/crypto.c ${dir_pw_third_party_boringssl}/src/crypto/curve25519/curve25519.c ${dir_pw_third_party_boringssl}/src/crypto/curve25519/curve25519_64_adx.c ${dir_pw_third_party_boringssl}/src/crypto/curve25519/curve25519_tables.h ${dir_pw_third_party_boringssl}/src/crypto/curve25519/internal.h ${dir_pw_third_party_boringssl}/src/crypto/curve25519/spake25519.c ${dir_pw_third_party_boringssl}/src/crypto/des/des.c ${dir_pw_third_party_boringssl}/src/crypto/des/internal.h ${dir_pw_third_party_boringssl}/src/crypto/dh_extra/dh_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/dh_extra/params.c ${dir_pw_third_party_boringssl}/src/crypto/digest_extra/digest_extra.c ${dir_pw_third_party_boringssl}/src/crypto/dsa/dsa.c ${dir_pw_third_party_boringssl}/src/crypto/dsa/dsa_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/dsa/internal.h ${dir_pw_third_party_boringssl}/src/crypto/ec_extra/ec_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/ec_extra/ec_derive.c ${dir_pw_third_party_boringssl}/src/crypto/ec_extra/hash_to_curve.c ${dir_pw_third_party_boringssl}/src/crypto/ec_extra/internal.h ${dir_pw_third_party_boringssl}/src/crypto/ecdh_extra/ecdh_extra.c ${dir_pw_third_party_boringssl}/src/crypto/ecdsa_extra/ecdsa_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/engine/engine.c ${dir_pw_third_party_boringssl}/src/crypto/err/err.c ${dir_pw_third_party_boringssl}/src/crypto/err/internal.h ${dir_pw_third_party_boringssl}/src/crypto/evp/evp.c ${dir_pw_third_party_boringssl}/src/crypto/evp/evp_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/evp/evp_ctx.c ${dir_pw_third_party_boringssl}/src/crypto/evp/internal.h ${dir_pw_third_party_boringssl}/src/crypto/evp/p_dsa_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/evp/p_ec.c ${dir_pw_third_party_boringssl}/src/crypto/evp/p_ec_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/evp/p_ed25519.c ${dir_pw_third_party_boringssl}/src/crypto/evp/p_ed25519_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/evp/p_hkdf.c ${dir_pw_third_party_boringssl}/src/crypto/evp/p_rsa.c ${dir_pw_third_party_boringssl}/src/crypto/evp/p_rsa_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/evp/p_x25519.c ${dir_pw_third_party_boringssl}/src/crypto/evp/p_x25519_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/evp/pbkdf.c ${dir_pw_third_party_boringssl}/src/crypto/evp/print.c ${dir_pw_third_party_boringssl}/src/crypto/evp/scrypt.c ${dir_pw_third_party_boringssl}/src/crypto/evp/sign.c ${dir_pw_third_party_boringssl}/src/crypto/ex_data.c ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/aes/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/bcm.c ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/bn/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/bn/rsaz_exp.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/cipher/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/delocate.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/dh/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/digest/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/digest/md32_common.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/ec/builtin_curves.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/ec/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/ec/p256-nistz-table.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/ec/p256-nistz.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/ec/p256_table.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/ecdsa/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/fips_shared_support.c ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/md5/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/modes/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/rand/fork_detect.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/rand/getrandom_fillin.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/rand/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/rsa/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/service_indicator/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/sha/internal.h ${dir_pw_third_party_boringssl}/src/crypto/fipsmodule/tls/internal.h ${dir_pw_third_party_boringssl}/src/crypto/hpke/hpke.c ${dir_pw_third_party_boringssl}/src/crypto/hrss/hrss.c ${dir_pw_third_party_boringssl}/src/crypto/hrss/internal.h ${dir_pw_third_party_boringssl}/src/crypto/internal.h ${dir_pw_third_party_boringssl}/src/crypto/kyber/internal.h ${dir_pw_third_party_boringssl}/src/crypto/kyber/keccak.c ${dir_pw_third_party_boringssl}/src/crypto/kyber/kyber.c ${dir_pw_third_party_boringssl}/src/crypto/lhash/internal.h ${dir_pw_third_party_boringssl}/src/crypto/lhash/lhash.c ${dir_pw_third_party_boringssl}/src/crypto/mem.c ${dir_pw_third_party_boringssl}/src/crypto/obj/obj.c ${dir_pw_third_party_boringssl}/src/crypto/obj/obj_dat.h ${dir_pw_third_party_boringssl}/src/crypto/obj/obj_xref.c ${dir_pw_third_party_boringssl}/src/crypto/pem/pem_all.c ${dir_pw_third_party_boringssl}/src/crypto/pem/pem_info.c ${dir_pw_third_party_boringssl}/src/crypto/pem/pem_lib.c ${dir_pw_third_party_boringssl}/src/crypto/pem/pem_oth.c ${dir_pw_third_party_boringssl}/src/crypto/pem/pem_pk8.c ${dir_pw_third_party_boringssl}/src/crypto/pem/pem_pkey.c ${dir_pw_third_party_boringssl}/src/crypto/pem/pem_x509.c ${dir_pw_third_party_boringssl}/src/crypto/pem/pem_xaux.c ${dir_pw_third_party_boringssl}/src/crypto/pkcs7/internal.h ${dir_pw_third_party_boringssl}/src/crypto/pkcs7/pkcs7.c ${dir_pw_third_party_boringssl}/src/crypto/pkcs7/pkcs7_x509.c ${dir_pw_third_party_boringssl}/src/crypto/pkcs8/internal.h ${dir_pw_third_party_boringssl}/src/crypto/pkcs8/p5_pbev2.c ${dir_pw_third_party_boringssl}/src/crypto/pkcs8/pkcs8.c ${dir_pw_third_party_boringssl}/src/crypto/pkcs8/pkcs8_x509.c ${dir_pw_third_party_boringssl}/src/crypto/poly1305/internal.h ${dir_pw_third_party_boringssl}/src/crypto/poly1305/poly1305.c ${dir_pw_third_party_boringssl}/src/crypto/poly1305/poly1305_arm.c ${dir_pw_third_party_boringssl}/src/crypto/poly1305/poly1305_vec.c ${dir_pw_third_party_boringssl}/src/crypto/pool/internal.h ${dir_pw_third_party_boringssl}/src/crypto/pool/pool.c ${dir_pw_third_party_boringssl}/src/crypto/rand_extra/deterministic.c ${dir_pw_third_party_boringssl}/src/crypto/rand_extra/forkunsafe.c ${dir_pw_third_party_boringssl}/src/crypto/rand_extra/getentropy.c ${dir_pw_third_party_boringssl}/src/crypto/rand_extra/ios.c ${dir_pw_third_party_boringssl}/src/crypto/rand_extra/passive.c ${dir_pw_third_party_boringssl}/src/crypto/rand_extra/rand_extra.c ${dir_pw_third_party_boringssl}/src/crypto/rand_extra/trusty.c ${dir_pw_third_party_boringssl}/src/crypto/rand_extra/windows.c ${dir_pw_third_party_boringssl}/src/crypto/rc4/rc4.c ${dir_pw_third_party_boringssl}/src/crypto/refcount.c ${dir_pw_third_party_boringssl}/src/crypto/rsa_extra/internal.h ${dir_pw_third_party_boringssl}/src/crypto/rsa_extra/rsa_asn1.c ${dir_pw_third_party_boringssl}/src/crypto/rsa_extra/rsa_crypt.c ${dir_pw_third_party_boringssl}/src/crypto/rsa_extra/rsa_print.c ${dir_pw_third_party_boringssl}/src/crypto/siphash/siphash.c ${dir_pw_third_party_boringssl}/src/crypto/stack/stack.c ${dir_pw_third_party_boringssl}/src/crypto/thread.c ${dir_pw_third_party_boringssl}/src/crypto/thread_none.c ${dir_pw_third_party_boringssl}/src/crypto/thread_pthread.c ${dir_pw_third_party_boringssl}/src/crypto/thread_win.c ${dir_pw_third_party_boringssl}/src/crypto/trust_token/internal.h ${dir_pw_third_party_boringssl}/src/crypto/trust_token/pmbtoken.c ${dir_pw_third_party_boringssl}/src/crypto/trust_token/trust_token.c ${dir_pw_third_party_boringssl}/src/crypto/trust_token/voprf.c ${dir_pw_third_party_boringssl}/src/crypto/x509/a_digest.c ${dir_pw_third_party_boringssl}/src/crypto/x509/a_sign.c ${dir_pw_third_party_boringssl}/src/crypto/x509/a_verify.c ${dir_pw_third_party_boringssl}/src/crypto/x509/algorithm.c ${dir_pw_third_party_boringssl}/src/crypto/x509/asn1_gen.c ${dir_pw_third_party_boringssl}/src/crypto/x509/by_dir.c ${dir_pw_third_party_boringssl}/src/crypto/x509/by_file.c ${dir_pw_third_party_boringssl}/src/crypto/x509/i2d_pr.c ${dir_pw_third_party_boringssl}/src/crypto/x509/internal.h ${dir_pw_third_party_boringssl}/src/crypto/x509/name_print.c ${dir_pw_third_party_boringssl}/src/crypto/x509/policy.c ${dir_pw_third_party_boringssl}/src/crypto/x509/rsa_pss.c ${dir_pw_third_party_boringssl}/src/crypto/x509/t_crl.c ${dir_pw_third_party_boringssl}/src/crypto/x509/t_req.c ${dir_pw_third_party_boringssl}/src/crypto/x509/t_x509.c ${dir_pw_third_party_boringssl}/src/crypto/x509/t_x509a.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_att.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_cmp.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_d2.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_def.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_ext.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_lu.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_obj.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_req.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_set.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_trs.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_txt.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_v3.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_vfy.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509_vpm.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509cset.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509name.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509rset.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x509spki.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_algor.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_all.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_attrib.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_crl.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_exten.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_info.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_name.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_pkey.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_pubkey.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_req.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_sig.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_spki.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_val.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_x509.c ${dir_pw_third_party_boringssl}/src/crypto/x509/x_x509a.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/ext_dat.h ${dir_pw_third_party_boringssl}/src/crypto/x509v3/internal.h ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_akey.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_akeya.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_alt.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_bcons.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_bitst.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_conf.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_cpols.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_crld.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_enum.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_extku.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_genn.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_ia5.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_info.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_int.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_lib.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_ncons.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_ocsp.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_pcons.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_pmaps.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_prn.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_purp.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_skey.c ${dir_pw_third_party_boringssl}/src/crypto/x509v3/v3_utl.c ${dir_pw_third_party_boringssl}/src/third_party/fiat/curve25519_32.h ${dir_pw_third_party_boringssl}/src/third_party/fiat/curve25519_64.h ${dir_pw_third_party_boringssl}/src/third_party/fiat/curve25519_64_adx.h ${dir_pw_third_party_boringssl}/src/third_party/fiat/curve25519_64_msvc.h ${dir_pw_third_party_boringssl}/src/third_party/fiat/p256_32.h ${dir_pw_third_party_boringssl}/src/third_party/fiat/p256_64.h ${dir_pw_third_party_boringssl}/src/third_party/fiat/p256_64_msvc.h ${dir_pw_third_party_boringssl}/src/ssl/bio_ssl.cc ${dir_pw_third_party_boringssl}/src/ssl/d1_both.cc ${dir_pw_third_party_boringssl}/src/ssl/d1_lib.cc ${dir_pw_third_party_boringssl}/src/ssl/d1_pkt.cc ${dir_pw_third_party_boringssl}/src/ssl/d1_srtp.cc ${dir_pw_third_party_boringssl}/src/ssl/dtls_method.cc ${dir_pw_third_party_boringssl}/src/ssl/dtls_record.cc ${dir_pw_third_party_boringssl}/src/ssl/encrypted_client_hello.cc ${dir_pw_third_party_boringssl}/src/ssl/extensions.cc ${dir_pw_third_party_boringssl}/src/ssl/handoff.cc ${dir_pw_third_party_boringssl}/src/ssl/handshake.cc ${dir_pw_third_party_boringssl}/src/ssl/handshake_client.cc ${dir_pw_third_party_boringssl}/src/ssl/handshake_server.cc ${dir_pw_third_party_boringssl}/src/ssl/internal.h ${dir_pw_third_party_boringssl}/src/ssl/s3_both.cc ${dir_pw_third_party_boringssl}/src/ssl/s3_lib.cc ${dir_pw_third_party_boringssl}/src/ssl/s3_pkt.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_aead_ctx.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_asn1.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_buffer.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_cert.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_cipher.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_file.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_key_share.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_lib.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_privkey.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_session.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_stat.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_transcript.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_versions.cc ${dir_pw_third_party_boringssl}/src/ssl/ssl_x509.cc ${dir_pw_third_party_boringssl}/src/ssl/t1_enc.cc ${dir_pw_third_party_boringssl}/src/ssl/tls13_both.cc ${dir_pw_third_party_boringssl}/src/ssl/tls13_client.cc ${dir_pw_third_party_boringssl}/src/ssl/tls13_enc.cc ${dir_pw_third_party_boringssl}/src/ssl/tls13_server.cc ${dir_pw_third_party_boringssl}/src/ssl/tls_method.cc ${dir_pw_third_party_boringssl}/src/ssl/tls_record.cc PRIVATE_DEPS pw_third_party.boringssl.private_config PUBLIC_DEPS pw_assert pw_tls_client.time pw_third_party.boringssl.public_config PUBLIC_INCLUDES # Contains a faked "sysdeps/sys/socket.h" sysdeps ) pw_add_test(pw_third_party.boringssl.build_test SOURCES build_test.cc PRIVATE_DEPS pw_bytes pw_third_party.boringssl GROUPS pw_third_party.boringssl )