Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge BoringSSL through 20c93abd47726624ab3e479466078f7e63f081f7 #2264

Merged
merged 44 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
6855f30
Remove unused files from pki
davidben Jan 30, 2024
56d3ad9
Require SSE2 when targetting 32-bit x86
davidben Jan 27, 2024
608becc
Fix strict aliasing issues with DES_cblock
davidben Jan 20, 2024
10a2132
Create a new NameConstraints constructor that takes in an already con…
hubertchao Feb 1, 2024
79123ca
Ensure additions in this call can't overflow.
Feb 3, 2024
34b51fa
Avoid conversion overflow from struct tm.
Feb 6, 2024
8ff5add
Tighten up the warning about RSAES-PKCS1-v1_5
davidben Feb 8, 2024
fbb4133
Add SSL_get0_chain method
gredner Feb 8, 2024
5dd15f3
Expose OPENSSL_timegm in posix_time.h
Feb 8, 2024
10605c0
Minor formatting fixes
davidben Feb 9, 2024
71c5896
Add functions to convert from Span<const uint8> and std::string_view
davidben Jan 30, 2024
c39e6cd
Use uint64_t for num_read and num_write in BIO
davidben Feb 10, 2024
324db64
Allow the delegate to indicate it wishes to accept PreCertificates
Jan 25, 2024
b1d34cb
Add public API for a certificate.
Nov 23, 2023
80b08df
Don't assume that Fiat assembly is available on Windows.
Feb 13, 2024
58a318e
Make ContainsError look only for Errors, not Warnings.
Feb 13, 2024
48b8146
Move signature_verify_cache.h to openssl/pki as public api
Dec 12, 2023
8049f26
Remove unused include in now public header
davidben Feb 14, 2024
38d17d3
Mark ASN1_STRFLAGS_* and XN_FLAG_* with the right type
davidben Feb 14, 2024
ba5eb62
Add X509_STORE_get1_objects
davidben Jan 25, 2024
5a1a5fb
Remove X509_TRUST_DEFAULT
davidben Dec 26, 2023
1b08502
Unexport most of X509_TRUST and X509_PURPOSE and simplify
davidben Dec 26, 2023
8e6a26d
Merge X509_PURPOSE/X509_TRUST IDs and indices
davidben Dec 26, 2023
a028a23
Document X509_V_FLAG_*
davidben Dec 26, 2023
cb47fdc
Switch to bindgen's static inline support
davidben Feb 14, 2024
22c5477
Include verify_unittest files in PKI_TEST_DATA
agl Feb 14, 2024
9c20a89
Guard C++ headers.
agl Feb 14, 2024
d7f5e18
Work around bindgen bug around constants
davidben Feb 14, 2024
2a5db68
Remove pki/tag.h
davidben Feb 7, 2024
0568c2c
Rewrite the warning about X509_AUX
davidben Dec 28, 2023
c528061
Allow a C++ runtime dependency in libssl
davidben Feb 15, 2024
46ff4f7
Unexport DIST_POINT_set_dpname
davidben Jan 1, 2024
ea003bd
Add x509.h to doc.config
davidben Jan 25, 2024
23824fa
bssl-crypto: remove unused code.
Feb 16, 2024
99e8c6e
Add a no-op OPENSSL_INIT_NO_ATEXIT
davidben Feb 16, 2024
da3b372
Don't report libpki headers as part of libcrypto
davidben Feb 18, 2024
48b0edf
Update delegated credentials to the final RFC
davidben Feb 11, 2024
20c93ab
Remove OPENSSL_IA32_SSE2 checks in x86 perlasm
davidben Jan 27, 2024
5ab7e72
ignore BoringSSL 6855f30.
briansmith Jan 21, 2025
5895ed0
Skip BoringSSL 56d3ad9.
briansmith Jan 21, 2025
4033766
Ignore BoringSSL 608becc..b1d34cb.
briansmith Jan 21, 2025
990b092
Merge BoringSSL 80b08df: Don't assume that Fiat assembly is available…
briansmith Jan 21, 2025
7fb4201
Ignore BoringSSL 58a318e..48b0edf.
briansmith Jan 21, 2025
ee7f382
Merge BoringSSL 20c93ab: Remove OPENSSL_IA32_SSE2 checks in x86 perlasm.
briansmith Jan 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't report libpki headers as part of libcrypto
It's possible that
https://boringssl-review.googlesource.com/c/boringssl/+/66268 wouldn't
be needed if we split these back up.

Update-Note: Downstream Bazel and GN builds that build libpki may need
to also list the pki_headers variable.

Change-Id: I61bfc231a9a8019f81b1ad4f7d43a6c4478b7283
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/66407
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
Auto-Submit: David Benjamin <davidben@google.com>
  • Loading branch information
davidben authored and Boringssl LUCI CQ committed Feb 20, 2024
commit da3b3725a8eff6408d826efb5c6e7b6243bf904f
25 changes: 17 additions & 8 deletions util/generate_build_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ def WriteFiles(self, files):
self.PrintVariableSection(out, 'crypto_sources', files['crypto'])
self.PrintVariableSection(out, 'crypto_sources_asm', files['crypto_asm'])
self.PrintVariableSection(out, 'crypto_sources_nasm', files['crypto_nasm'])
self.PrintVariableSection(out, 'pki_headers', files['pki_headers'])
self.PrintVariableSection(
out, 'pki_internal_headers', files['pki_internal_headers'])
self.PrintVariableSection(out, 'pki_sources', files['pki'])
Expand Down Expand Up @@ -359,18 +360,17 @@ def WriteFiles(self, files):
self.PrintVariableSection(out, 'crypto_sources_asm', files['crypto_asm'])
self.PrintVariableSection(out, 'crypto_sources_nasm',
files['crypto_nasm'])
self.PrintVariableSection(out, 'crypto_headers',
files['crypto_headers'])
self.PrintVariableSection(out, 'crypto_headers', files['crypto_headers'])
self.PrintVariableSection(out, 'rust_bssl_sys', files['rust_bssl_sys'])
self.PrintVariableSection(out, 'rust_bssl_crypto',
files['rust_bssl_crypto'])
self.PrintVariableSection(out, 'ssl_sources',
files['ssl'] + files['ssl_internal_headers'])
self.PrintVariableSection(out, 'ssl_headers', files['ssl_headers'])
self.PrintVariableSection(out, 'pki_sources',
files['pki'])
self.PrintVariableSection(out, 'pki_sources', files['pki'])
self.PrintVariableSection(out, 'pki_internal_headers',
files['pki_internal_headers'])
self.PrintVariableSection(out, 'pki_headers', files['pki_headers'])
self.PrintVariableSection(out, 'tool_sources',
files['tool'] + files['tool_headers'])

Expand Down Expand Up @@ -614,6 +614,14 @@ def SSLHeaderFiles(path, dent, is_dir):
return dent in ['ssl.h', 'tls1.h', 'ssl23.h', 'ssl3.h', 'dtls1.h', 'srtp.h']


def CryptoHeaderFiles(path, dent, is_dir):
if SSLHeaderFiles(path, dent, is_dir):
return False
if is_dir and dent == 'pki':
return False
return True


def FindCFiles(directory, filter_func):
"""Recurses through directory and returns a list of paths to all the C source
files that pass filter_func."""
Expand Down Expand Up @@ -827,12 +835,12 @@ def main(platforms):
ssl_h_files = FindHeaderFiles(os.path.join('src', 'include', 'openssl'),
SSLHeaderFiles)

pki_internal_h_files = FindHeaderFiles(os.path.join('src', 'pki'), AllFiles);
pki_internal_h_files = FindHeaderFiles(os.path.join('src', 'pki'), AllFiles)

def NotSSLHeaderFiles(path, filename, is_dir):
return not SSLHeaderFiles(path, filename, is_dir)
crypto_h_files = FindHeaderFiles(os.path.join('src', 'include', 'openssl'),
NotSSLHeaderFiles)
CryptoHeaderFiles)
pki_h_files = FindHeaderFiles(
os.path.join('src', 'include', 'openssl', 'pki'), AllFiles)

ssl_internal_h_files = FindHeaderFiles(os.path.join('src', 'ssl'), NoTests)
crypto_internal_h_files = (
Expand Down Expand Up @@ -868,6 +876,7 @@ def NotSSLHeaderFiles(path, filename, is_dir):
'fips_fragments': fips_fragments,
'fuzz': fuzz_c_files,
'pki': PrefixWithSrc(cmake['PKI_SOURCES']),
'pki_headers': pki_h_files,
'pki_internal_headers': sorted(list(pki_internal_h_files)),
'pki_test': PrefixWithSrc(cmake['PKI_TEST_SOURCES']),
'pki_test_data': PrefixWithSrc(cmake['PKI_TEST_DATA']),
Expand Down