1. 29 Apr, 2015 1 commit
  2. 24 Apr, 2015 2 commits
    • Adam Langley's avatar
      Fix SSL_get0_chain_certs. · 7a759c78
      Adam Langley authored
      SSL_get0_chain_certs calls a ctrl function with
      SSL_CTRL_GET_CHAIN_CERTS. The switch failed to set a positive return
      value and so the call always appeared to fail.
      
      (Imported from upstream's
      https://boringssl-review.googlesource.com/#/c/4521/)
      
      Change-Id: Ia69c404c528b0cb01c7ff5e56ca8a8415265fa73
      7a759c78
    • Adam Langley's avatar
      Use SSL_MODE_SEND_FALLBACK_SCSV. · d8eaa8b9
      Adam Langley authored
      Upstream settled in this API, and it's also the one that we expect
      internally and that third_party code will expect.
      
      This is an import of upstream's
      5f0efe06e199a1bd96f161eb45f3dd76924cdc2a.
      
      Change-Id: Ib4c7054a382dccdd23919407742bd037b9653a4b
      d8eaa8b9
  3. 23 Apr, 2015 1 commit
    • Adam Langley's avatar
      Ensure BN_asc2bn, BN_dec2bn, and BN_hex2bn never give -0. · d82ab38c
      Adam Langley authored
      When |BN_dec2bn| and |BN_hex2bn| were merged (way back in the initial
      BoringSSL change), the neg flag was set too soon and could be cleared by
      |BN_add_word|.
      
      This is an import of upstream's c85573cc. The unittest change isn't
      included here because bn_test.c has changed significantly in upstream
      and BoringSSL unittests aren't run in the Android environment.
      
      Bug: 20523350
      Change-Id: Iaf8efe2fe3419218437f5ebb9a15f73559860a0f
      d82ab38c
  4. 21 Apr, 2015 1 commit
  5. 20 Apr, 2015 1 commit
  6. 19 Apr, 2015 1 commit
    • Adam Langley's avatar
      external/boringssl: try to fix aarch64+Clang. · eef60be9
      Adam Langley authored
      It appears that the version of Clang in Android doesn't support the
      .arch_extension directive. This change removes the .arch and
      .arch_extension lines (because they are triggering errors) and adds a
      -march option on the command line instead.
      
      The aarch64+Clang build is still broken with this change, but it's
      broken in binder rather than BoringSSL with it.
      
      Change-Id: I32c557bdfde4df66d26794ccdd650356f2bbaf8f
      eef60be9
  7. 18 Apr, 2015 5 commits
  8. 08 Apr, 2015 1 commit
    • Adam Langley's avatar
      BoringSSL: support AES-192. · 13d393ed
      Adam Langley authored
      Keystore has added support for it so these functions are needed again.
      
      Change-Id: Id3bf3dd10e182fe7a9b1c51bd3184ecac4cfde8b
      13d393ed
  9. 02 Apr, 2015 1 commit
  10. 25 Mar, 2015 1 commit
  11. 16 Mar, 2015 3 commits
    • Kenny Root's avatar
      Merge "Switch an assert back to a check." · b051df5c
      Kenny Root authored
      b051df5c
    • Adam Langley's avatar
      Support MIPS64. · 1ba8594f
      Adam Langley authored
      MIPS64 confusingly sets __mips__, but it's not a 32-bit platform. This
      change updates the defines in base.h to recognise MIPS64 based on both
      __mips__ and __LP64__ being defined.
      
      BUG: 19665578
      
      Change-Id: I6290b6def9f999a01b500c918d1488a22fd57460
      1ba8594f
    • Adam Langley's avatar
      Switch an assert back to a check. · cade762c
      Adam Langley authored
      The assert was supposed to be *added* in fcf25833 but instead replaced
      the check.
      
      Change-Id: I74d67f49a4375f6b9f1272cbfcf87a438b3b6f29
      cade762c
  12. 06 Mar, 2015 3 commits
  13. 05 Mar, 2015 2 commits
    • Kenny Root's avatar
      Use libmingwex for gmtime_s · 1f6fdd5a
      Kenny Root authored
      gmtime_s first appeared in MSVCR80, but libmingwex has a helper
      function that tries to find the symbol or falls back to an internal
      implementation.
      
      Change-Id: I5bc27e1cfcc208eb9ea1159d47791fcc90bc7794
      1f6fdd5a
    • Kenny Root's avatar
      Android: disable assembly for Mac and Windows · 7086cfca
      Kenny Root authored
      There are various problems with assembly on both the Mac and Windows
      builds, so just disable it for now.
      
      Change-Id: I6163e97089c17f70ef9361279319badd22c354b2
      7086cfca
  14. 04 Mar, 2015 1 commit
    • Kenny Root's avatar
      MinGW on Linux uses lowercase include files · ac6c5371
      Kenny Root authored
      On Windows this doesn't matter since the filesystems are case-
      insensitive, but building BoringSSL on Linux with MinGW has
      case-sensitive filesystems.
      
      Change-Id: Iefd319cfda89d2d1f8d43cea39c68295bfa65c83
      ac6c5371
  15. 27 Feb, 2015 5 commits
  16. 25 Feb, 2015 2 commits
  17. 13 Feb, 2015 2 commits
    • Adam Langley's avatar
      Mark OPENSSL_armcap_P as hidden in asm files. · 13066f1c
      Adam Langley authored
      Without this, the linker says:
        (sha512-armv4.o): requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
      
      This is (I believe) a very misleading error message. The R_ARM_REL32
      relocation type is the correct type for position independent code. But
      unless the target symbol is hidden then the linker doesn't know that
      it's not going to be overridden by a different ELF module.
      
      Change-Id: I9bb5f6b5f85c8de1ad5b6426cf27826976ce8248
      13066f1c
    • Adam Langley's avatar
      Specify a local SDK version. · 07f07a86
      Adam Langley authored
      Without this the conscrypt build fails in `make checkbuild` because GCC
      emits calls to __memset_chk and friends, but the NDK doesn't provide
      them.
      
      Change-Id: I37d783f0e0e7d53a671fc03056e6450a4f5d1c95
      07f07a86
  18. 09 Feb, 2015 2 commits
    • Dan Albert's avatar
      Revert "Disable boringssl build." · d052a493
      Dan Albert authored
      The manifest change was reverted, so this isn't needed anymore.
      
      This reverts commit 54d4b126.
      
      Change-Id: I4d43b2362262d3a22d5b68d9a210ac6d1d150387
      d052a493
    • Dan Albert's avatar
      Disable boringssl build. · 54d4b126
      Dan Albert authored
      All these modules are defined in external/openssl as well, which is
      breaking the build. Disable everything in the makefile until someone
      that owns the project has a chance to clean it up.
      
      Change-Id: I732739999e89bb832005842a5776d1540fb6bdbb
      54d4b126
  19. 31 Jan, 2015 1 commit