Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Issue 345063006: Switch to BoringSSL. (Closed)

Created:
6 years, 5 months ago by agl
Modified:
6 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam, android-webview-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Switch to BoringSSL. (This is a much larger change than its diff suggests. If it breaks something, please revert first and ask questions later.) R=davidben@chromium.org, eroman@chromium.org, rsleevi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283542

Patch Set 1 #

Patch Set 2 : ... #

Patch Set 3 : ... #

Patch Set 4 : ... #

Patch Set 5 : ... #

Total comments: 4

Patch Set 6 : ... #

Patch Set 7 : ... #

Patch Set 8 : ... #

Total comments: 2

Patch Set 9 : ... #

Patch Set 10 : g try #

Total comments: 4

Patch Set 11 : ... #

Patch Set 12 : ... #

Patch Set 13 : ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+512 lines, -747 lines) Patch
M DEPS View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -3 lines 0 comments Download
M android_webview/native/webview_native.gyp View 1 chunk +1 line, -1 line 0 comments Download
M build/linux/system.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M build/linux/unbundle/replace_gyp_files.py View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/child/webcrypto/platform_crypto_openssl.cc View 1 3 chunks +24 lines, -23 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M crypto/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M crypto/crypto.gyp View 2 chunks +2 lines, -2 lines 0 comments Download
M crypto/crypto_nacl.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M crypto/encryptor_openssl.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M crypto/openssl_bio_string_unittest.cc View 1 1 chunk +0 lines, -7 lines 0 comments Download
M crypto/openssl_util.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M crypto/rsa_private_key_openssl.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M crypto/scoped_openssl_types.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M crypto/signature_verifier_openssl.cc View 1 3 chunks +11 lines, -4 lines 0 comments Download
M google_apis/google_apis.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 6 chunks +5 lines, -9 lines 0 comments Download
M net/android/keystore_openssl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 12 chunks +260 lines, -452 lines 0 comments Download
M net/android/keystore_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +1 line, -156 lines 0 comments Download
M net/cert/cert_verify_proc_openssl.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M net/cert/x509_certificate_openssl.cc View 1 4 chunks +10 lines, -17 lines 0 comments Download
M net/http/des.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -3 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 8 chunks +7 lines, -12 lines 0 comments Download
M net/net_nacl.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M net/quic/crypto/aead_base_decrypter_openssl.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M net/quic/crypto/aead_base_encrypter_openssl.cc View 1 chunk +12 lines, -8 lines 0 comments Download
M net/socket/openssl_ssl_util.cc View 1 3 chunks +6 lines, -4 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 3 4 5 6 7 8 9 10 chunks +11 lines, -12 lines 0 comments Download
M net/socket/ssl_server_socket_openssl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/socket/ssl_session_cache_openssl_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/tools/flip_server/acceptor_thread.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/flip_server/spdy_ssl.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M remoting/host/token_validator_base.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/remoting_nacl.gyp View 1 4 chunks +4 lines, -4 lines 0 comments Download
A third_party/boringssl/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +65 lines, -0 lines 0 comments Download
A third_party/boringssl/boringssl_nacl.gyp View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
M third_party/libjingle/libjingle.gyp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/libjingle/libjingle_nacl.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/usrsctp/usrsctp.gyp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
agl
davidben: I can't test the keystore_openssl.cc code so there are surely bugs in there.
6 years, 5 months ago (2014-07-15 18:18:57 UTC) #1
eroman
https://codereview.chromium.org/345063006/diff/80001/content/child/webcrypto/platform_crypto_openssl.cc File content/child/webcrypto/platform_crypto_openssl.cc (right): https://codereview.chromium.org/345063006/diff/80001/content/child/webcrypto/platform_crypto_openssl.cc#newcode56 content/child/webcrypto/platform_crypto_openssl.cc:56: // OpenSSL supports AES CBC ciphers for only 2 ...
6 years, 5 months ago (2014-07-15 20:20:45 UTC) #2
davidben
android_dbg_triggered_tests seems to be unhappy. https://codereview.chromium.org/345063006/diff/80001/net/android/keystore_openssl.cc File net/android/keystore_openssl.cc (right): https://codereview.chromium.org/345063006/diff/80001/net/android/keystore_openssl.cc#newcode573 net/android/keystore_openssl.cc:573: EVP_PKEY_assign_DSA(pkey, dsa.release()); This function ...
6 years, 5 months ago (2014-07-15 21:53:35 UTC) #3
Ryan Sleevi
All else LGTM, but I defer to David for the keystore bits, which I did ...
6 years, 5 months ago (2014-07-16 01:06:57 UTC) #4
agl
https://codereview.chromium.org/345063006/diff/140001/net/cert/x509_certificate_openssl.cc File net/cert/x509_certificate_openssl.cc (right): https://codereview.chromium.org/345063006/diff/140001/net/cert/x509_certificate_openssl.cc#newcode49 net/cert/x509_certificate_openssl.cc:49: if (PKCS7_get_certificates(certs, &der_data)) { On 2014/07/16 01:06:57, Ryan Sleevi ...
6 years, 5 months ago (2014-07-16 01:15:48 UTC) #5
davidben
LGTM https://codereview.chromium.org/345063006/diff/180001/net/android/keystore_openssl.cc File net/android/keystore_openssl.cc (right): https://codereview.chromium.org/345063006/diff/180001/net/android/keystore_openssl.cc#newcode9 net/android/keystore_openssl.cc:9: #include <openssl/bytestring.h> Nit: Is this include being used? ...
6 years, 5 months ago (2014-07-16 21:58:54 UTC) #6
agl
https://codereview.chromium.org/345063006/diff/180001/net/android/keystore_openssl.cc File net/android/keystore_openssl.cc (right): https://codereview.chromium.org/345063006/diff/180001/net/android/keystore_openssl.cc#newcode9 net/android/keystore_openssl.cc:9: #include <openssl/bytestring.h> On 2014/07/16 21:58:54, David Benjamin wrote: > ...
6 years, 5 months ago (2014-07-16 22:08:02 UTC) #7
agl
Committed patchset #13 manually as r283542.
6 years, 5 months ago (2014-07-16 22:15:39 UTC) #8
kuan
A revert of this CL has been created in https://codereview.chromium.org/398233002/ by kuan@chromium.org. The reason for ...
6 years, 5 months ago (2014-07-17 00:07:07 UTC) #9
kuan
A revert of this CL has been created in https://codereview.chromium.org/395373002/ by kuan@chromium.org. The reason for ...
6 years, 5 months ago (2014-07-17 00:10:47 UTC) #10
sgurun-gerrit only
On 2014/07/17 00:10:47, kuan wrote: > A revert of this CL has been created in ...
6 years, 5 months ago (2014-07-17 00:30:35 UTC) #11
agl
6 years, 5 months ago (2014-07-17 00:36:15 UTC) #12
Message was sent while issue was closed.
On 2014/07/17 00:30:35, sgurun wrote:
> looking...

This has been reverted for now. This change has been suggested to fix it for the
next landing attempt: https://codereview.chromium.org/395353002/

Powered by Google App Engine
This is Rietveld 408576698