1. 22 Dec, 2015 1 commit
  2. 11 Dec, 2015 1 commit
    • Kenny Root's avatar
      Do not sanitize the host JNI library · 45c6c990
      Kenny Root authored
      Sanitization currently makes this library reference symbols which
      cannot be resolved at runtime without additional magic when starting
      the JVM.
      
      Disable this until we can find a fix. This currently fails 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: Icd5ffb49eb5610552af0dd049db99a0b9f181cba
      45c6c990
  3. 10 Dec, 2015 1 commit
    • Alex Klyubin's avatar
      Self-contained host native shared library for OpenJDK. · 0ce8205b
      Alex Klyubin authored
      This statically links in BoringSSL and libc++ into Conscrypt's JNI
      OpenJDK shared library for host. The goal is to make the library as
      self-contained as feasible to avoid issues with shared library search
      path when the library is used outside of the Android source tree.
      
      Bug: 26097626
      Change-Id: I3d1b521ad11a0f88ec46d8a7382c14ffdfd44e2e
      0ce8205b
  4. 08 Dec, 2015 1 commit
    • Kenny Root's avatar
      Add makefile rules for conscrypt-host · b862e141
      Kenny Root authored
      This builds conscrypt enough that signapk can start using it during the
      build process to speed up its signing process and use RSA PSS.
      
      Change-Id: Ic54baa286a9559bf19e14697042f28d180f58e04
      b862e141
  5. 03 Dec, 2015 1 commit
    • Colin Cross's avatar
      Opt-out of STL · 0a01703e
      Colin Cross authored
      conscrypt does not use STL, but gets libc++.so linked in by default.
      Unbundled branches might not have libc++.so, so opt-out of STL.
      
      Change-Id: I8c1e58a821b1d5c4c9aacfe34d605b27a105973b
      0a01703e
  6. 05 Nov, 2015 1 commit
  7. 30 Sep, 2015 1 commit
  8. 16 Sep, 2015 1 commit
    • Paul Lietar's avatar
      Add method to delete extension from a certificate · 64c85650
      Paul Lietar authored
      The OpenSSLX509Certificate is still immutable. Instead a modified copy is returned.
      The use case for this is recreating the TBS component of a Precertificate as
      described by RFC6962 section 3.2.
      
      Change-Id: I2a9305ae7464642910decaf5ab46121a6f15d722
      64c85650
  9. 24 Apr, 2015 1 commit
    • Adam Langley's avatar
      external/conscrypt: add NativeConstants. · f79c90d5
      Adam Langley authored
      NativeConstants.java is generated by a C program and thus the values
      will automatically be kept in sync with the contents of the OpenSSL
      headers.
      
      Bug: 20521989
      Change-Id: Ib5a97bf6ace05988e3eef4a9c8e02d0f707d46ad
      f79c90d5
  10. 23 Apr, 2015 1 commit
    • Kenny Root's avatar
      Fix conscrypt-stubs target · 7cb0a4a1
      Kenny Root authored
      It should build against the SDK so it doesn't depend on a bunch of stuff
      unavailable in an unbundled build scenario.
      
      Change-Id: Ib1c2bd90585ea5823c3e5cf2a3e1efed815f2f23
      7cb0a4a1
  11. 22 Apr, 2015 1 commit
    • Chad Brubaker's avatar
      Add Platform adapter around unbundled conscrypt · 62190cd4
      Chad Brubaker authored
      This wraps the conscrypt OpenSSLSocketImpl with an adapter that is a
      subclass of the platform's OpenSSLSocketImpl in order to support old
      code that does casts to the platform OpenSSLSocketImpl in order to set
      things like SNI.
      
      Until KK the platform OpenSSLSocketImpl was
      org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl, in KK it became
      com.android.org.conscrypt.OpenSSLSocketImpl. As of L MR1 the platform
      HTTP stack no longer casts to the platform OpenSSLSocketImpl and this
      work around is not needed on those devices.
      
      Change-Id: I196ad957eabfc70246d9c01aa12855a8eab036f0
      62190cd4
  12. 09 Apr, 2015 1 commit
    • Yohann Roussel's avatar
      Don't use Jack embedded library · eaa28762
      Yohann Roussel authored
      This is a temporary workround to avoid intermittent failure on
      build server for ub-conscrypt
      
      Bug: 20132430
      Change-Id: I781fb968ed7d0f40f908cf1ab7882957a911611b
      eaa28762
  13. 07 Apr, 2015 1 commit
    • Chad Brubaker's avatar
      Add Platform adapter around unbundled conscrypt · 0d8611cf
      Chad Brubaker authored
      This wraps the conscrypt OpenSSLSocketImpl with an adapter that is a
      subclass of the platform's OpenSSLSocketImpl in order to support old
      code that does casts to the platform OpenSSLSocketImpl in order to set
      things like SNI.
      
      Until KK the platform OpenSSLSocketImpl was
      org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl, in KK it became
      com.android.org.conscrypt.OpenSSLSocketImpl. As of L MR1 the platform
      HTTP stack no longer casts to the platform OpenSSLSocketImpl and this
      work around is not needed on those devices.
      
      Change-Id: I196ad957eabfc70246d9c01aa12855a8eab036f0
      0d8611cf
  14. 31 Mar, 2015 1 commit
  15. 11 Mar, 2015 1 commit
    • Kenny Root's avatar
      OpenSSL: remove bad dependency · aff9780b
      Kenny Root authored
      OpenSSL flavor of Conscrypt still uses the dynamic engine, so don't
      directly depend on the library since it will be in the SSL ENGINE
      directory in /system/lib{64,}/ssl/engines
      
      Bug: 19698929
      Change-Id: Id7e3f6ffaca2073a016db546e1014d50ef4ad0db
      aff9780b
  16. 25 Feb, 2015 1 commit
  17. 30 Jan, 2015 1 commit
  18. 17 Dec, 2014 1 commit
  19. 24 Nov, 2014 1 commit
  20. 19 Nov, 2014 1 commit
    • Adam Langley's avatar
      Allow conscrypt to work with BoringSSL. · de5225d1
      Adam Langley authored
      This is quite a substantial change because of the changes to ENGINEs in
      BoringSSL.
      
      For the most part, #ifs are used to allow the code to work with either
      OpenSSL or BoringSSL. However, in several places, support for things
      that BoringSSL is dropping have been removed, even when OpenSSL is used.
      This includes DSA keys and tests for the ENGINE bits that are going away
      because it's unclear how to skip compiling those tests.
      
      Change-Id: I941a5ed232391f84b45e070c19d2ffb7ad162b7b
      de5225d1
  21. 28 Oct, 2014 1 commit
  22. 19 Jun, 2014 1 commit
  23. 11 Jun, 2014 1 commit
    • Kenny Root's avatar
      Add ability to wrap platform keys · f24ba062
      Kenny Root authored
      This is mostly useful for unbundled Conscrypt currently when working
      with KeyChain-based keys, but could be good for use with PKCS11-like
      keys in other JSSE providers.
      
      Bug: 15469749
      Change-Id: I56bf2eaf3228bdf42d671437f4fffdafb8b47b12
      f24ba062
  24. 13 Jun, 2014 1 commit
  25. 09 Jun, 2014 1 commit
    • Ian Rogers's avatar
      Remove deprecated WITH_HOST_DALVIK. · 3a03c73b
      Ian Rogers authored
      Switch host build to clang as conscrypt uses C++11 and not all GCC
      host compilers support it.
      
      Bug: 13751317
      Change-Id: I74ffdda695e47967b61a133c8b6fc52f6547a3a0
      3a03c73b
  26. 30 May, 2014 2 commits
    • Kenny Root's avatar
      Move platform-only files out to separate directory · 39deada9
      Kenny Root authored
      To aid in building Conscrypt with gradle, move the platform-only files
      out to a separate directory.
      
      Change-Id: I8f07959055261f6b9f2a0ac26dea2f6431d9edbe
      39deada9
    • Kenny Root's avatar
      Unbundle conscrypt · 4ccb72fd
      Kenny Root authored
      Don't build the host JNI library in an unbundled build since it's only
      needed for testing currently.
      
      Change-Id: I6b6003e86d9f6ff2d87431f156f4984f56592791
      4ccb72fd
  27. 29 May, 2014 1 commit
    • Kenny Root's avatar
      Add script to create prebuilts · 031510fb
      Kenny Root authored
      This allows us to create a gradle library that people can include.
      
      Change-Id: I7f845ae0738b8d414781a34fef6bc28bebebb994
      031510fb
  28. 27 May, 2014 3 commits
  29. 25 Nov, 2013 1 commit
  30. 28 Oct, 2013 1 commit
  31. 02 Oct, 2013 4 commits
  32. 16 Sep, 2013 1 commit