1. 11 Dec, 2015 1 commit
    • Alex Klyubin's avatar
      Do not sanitize host static libraries. · 55181dbb
      Alex Klyubin authored
      Sanitization currently makes these libraries reference symbols which
      cannot be resolved at runtime without additional magic.
      
      Disable this until we can find a fix. This currently makes signapk
      fail with:
      libconscrypt_openjdk_jni.so: undefined symbol: __asan_option_detect_stack_use_after_return
      	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      	at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
      	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
      	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)
      	at java.lang.Runtime.loadLibrary0(Runtime.java:849)
      	at java.lang.System.loadLibrary(System.java:1088)
      	at org.conscrypt.NativeCryptoJni.init(NativeCryptoJni.java:25)
      	at org.conscrypt.NativeCrypto.<clinit>(NativeCrypto.java:54)
      	at org.conscrypt.OpenSSLBIOInputStream.<init>(OpenSSLBIOInputStream.java:34)
      	at org.conscrypt.OpenSSLX509Certificate.fromX509PemInputStream(OpenSSLX509Certificate.java:119)
      	at org.conscrypt.OpenSSLX509CertificateFactory$1.fromX509PemInputStream(OpenSSLX509CertificateFactory.java:220)
      	at org.conscrypt.OpenSSLX509CertificateFactory$1.fromX509PemInputStream(OpenSSLX509CertificateFactory.java:216)
      	at org.conscrypt.OpenSSLX509CertificateFactory$Parser.generateItem(OpenSSLX509CertificateFactory.java:94)
      	at org.conscrypt.OpenSSLX509CertificateFactory.engineGenerateCertificate(OpenSSLX509CertificateFactory.java:272)
      	at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:339)
      	at com.android.signapk.SignApk.readPublicKey(SignApk.java:161)
      	at com.android.signapk.SignApk.main(SignApk.java:933)
      
      Bug: 26160319
      Change-Id: I9f8d949bf571eb2511d42d472ecf23a5e8c03758
      55181dbb
  2. 04 Dec, 2015 2 commits
    • Kenny Root's avatar
      Revert "Revert "Opt-out of STL"" · 65073cf7
      Kenny Root authored
      Now with a proper pthread dependency.
      
      This reverts commit 658a3498.
      
      Change-Id: I98414598c885904cb1988f30b339da7181cda341
      65073cf7
    • Kenny Root's avatar
      Revert "Opt-out of STL" · 658a3498
      Kenny Root authored
      We were depending on pthread that was being pulled in via STL, so revert
      this until we can fix the dependency correctly.
      
      This reverts commit f88d692d.
      
      Change-Id: Ica803c825db66e52ffa1d41cf709da9313dded1b
      658a3498
  3. 03 Dec, 2015 1 commit
    • Colin Cross's avatar
      Opt-out of STL · f88d692d
      Colin Cross authored
      libssl and libcrypto don't use STL, set LOCAL_CXX_STL := none for the
      host modules.
      
      Change-Id: I22c36e477ec812a38dc1c6463bd398503a1f4b69
      f88d692d
  4. 12 Nov, 2015 1 commit
    • Adam Langley's avatar
      external/boringssl: update from upstream · fad6327e
      Adam Langley authored
      BUG=24082170
      
      7104cc9 Update and fix fuzzing instructions.
      9a4beb8 Add four, basic fuzz tests.
      4ab2540 Add AArch64 Montgomery assembly.
      ad38dc7 Enable Montgomery optimisations on ARM.
      2e64f1b Check PKCS#8 pkey field is valid before cleansing.
      f606f98 bssl pkcs12 shouldn't crash on missing key.
      e348ff4 Fix build.
      6e80765 Add SSL_get_server_key_exchange_hash.
      788be4a Remove the hard-coded SHA-1 exception for sigalgs.
      5d5e39f Remove non-ASM version of |bn_mul_mont| in bn/generic.c.
      59b0fcc Define BORINGSSL_201510.
      e6d1e5a Use typedef names, not struct names.
      16285ea Rewrite DTLS handshake message sending logic.
      c81ee8b Add missing state to DTLS state machine.
      2e24b9b Allow SHA-512 unaligned data access in |OPENSSL_NO_ASM| mode.
      e82e6f6 Constify more BN_MONT_CTX parameters.
      c7817d8 Add SSL_CIPHER_get_min_version and tidy up SSL_TLSV1_2 logic.
      9d94d5e Remove untested, unnecessary big-endian SHA-1/SHA-256 optimizations.
      38feb99 Require that EC points are on the curve.
      ef793f4 Add various functions for SSL_CIPHER.
      f93995b Test that the client doesn't offer TLS 1.2 ciphers when it shouldn't.
      5f88999 Fix up several comments and detect problems in the future.
      e57a192 Add missing newline in aead.h.
      c2d3280 Add SSL_get_ivs.
      a97b737 Separate CCS and handshake writing in DTLS.
      ac9404c Improve crypto/digest/md32_common.h mechanism.
      8fb0f52 Free BN_MONT_CTX in generic code.
      bb87535 Fix ASan bot.
      d93831d Make it possible for a static linker to discard unused RSA functions.
      e8f783a Unwind DH_METHOD and DSA_METHOD.
      3fc138e Don't bother sampling __func__.
      165248c Fix several MSVC warnings.
      8f7ecb8 (Hopefully) fix a warning on Windows.
      466b989 Initialise variable before jump.
      1895493 Add Intel's P-256
      27a0d08 Add ssl_renegotiate_ignore.
      fa9eb56 Correct the spelling of "primitive".
      f1c1cf8 Revert "Improve crypto/digest/md32_common.h mechanism."
      00461cf Improve crypto/digest/md32_common.h mechanism.
      ecc2591 Update link to Google style guide.
      efb42fb Make BN_mod_exp_mont_consttime take a const context.
      eb8be01 Add ciphers option to bssl.
      09d68c9 Expand a comment.
      2e0901b Don't use ssl3_write_pending in DTLS.
      13e81fc Fix DTLS asynchronous write handling.
      ebda9b3 Make recordingconn emit more useful things for DTLS.
      069bedf Fix documentation typo.
      ce51469 Fix a missing initializer that only Clang warns about.
      d9e8173 Fix several warnings that arise in Android.
      bb85f3d Reorganise |SSL_SESSION| and |SSL| to save a little memory.
      dff504d Make the instructions for downloading the ARM compiler easier to copy and paste.
      
      Change-Id: I5ef2238f77f2bcab239919c8c50c3705b4577f09
      fad6327e
  5. 06 Nov, 2015 3 commits
  6. 05 Nov, 2015 3 commits
  7. 30 Oct, 2015 1 commit
  8. 22 Oct, 2015 2 commits
  9. 03 Oct, 2015 2 commits
  10. 02 Oct, 2015 3 commits
  11. 30 Sep, 2015 1 commit
    • Adam Langley's avatar
      external/boringssl: remove BORINGSSL_201509 support. · 1eb96cca
      Adam Langley authored
      The BORINGSSL_201509 define was used to make updating BoringSSL in
      external/boringssl less painful. It allowed code to compile with either
      the old BoringSSL (which didn't define BORINGSSL_201509) or with the new
      (which does).
      
      Now that the new version has landed, this change removes that define. It
      must be landed after the changes elsewhere in Android that remove
      references to this define.
      
      Change-Id: I19e661419f830459d015bf14e7905af2ec41b735
      1eb96cca
  12. 28 Sep, 2015 1 commit
  13. 25 Sep, 2015 9 commits
  14. 24 Sep, 2015 3 commits
  15. 03 Sep, 2015 2 commits
  16. 28 Aug, 2015 1 commit
    • Dan Willemsen's avatar
      Whitelist windows modules · 08656b61
      Dan Willemsen authored
      And stop changing variables based on HOST_OS.
      
      Bug: 23566667
      Change-Id: I3b3b2f0aef066eb224cb1fa6f2e9f32c32695711
      08656b61
  17. 27 Aug, 2015 3 commits
  18. 15 Aug, 2015 1 commit