1. 30 Sep, 2014 2 commits
  2. 29 Sep, 2014 1 commit
    • Adam Langley's avatar
      Add ENGINE for BoringSSL. · 1fb05838
      Adam Langley authored
      This change adds a new ENGINE implementation for BoringSSL. It's a no-op
      until external/openssl is switched to BoringSSL.
      
      BoringSSL's ENGINEs are very different from OpenSSL's (and very much
      smaller). Thus this change adds replacement code that is conditionally
      compiled when BoringSSL is used.
      
      Rather than building a .so that is put in a special directory and loaded
      by OpenSSL dymanically, the code becomes a normal library that exports a
      single function: EVP_PKEY_from_keystore. All the |ENGINE_load| etc
      functions that callers previously needed become moot with BoringSSL.
      
      Bug: 17409664
      Change-Id: I8b5ba255f86ec5d0f28994358dc0f0b516f0af40
      1fb05838
  3. 27 Sep, 2014 2 commits
  4. 26 Sep, 2014 4 commits
  5. 25 Sep, 2014 1 commit
  6. 24 Sep, 2014 1 commit
    • Adam Langley's avatar
      Update softkeymaster for BoringSSL. · 53d13c51
      Adam Langley authored
      * Disable an odd, 192-bit curve that BoringSSL no longer supports.
      * Only set the "ASN.1 flag" when not using BoringSSL as it's the default
        now in BoringSSL.
      * Use a non-deprecated function to free the thread's error queue.
      
      Change-Id: I54a08724aef0344421fe9097e524d66550af0f81
      53d13c51
  7. 12 Sep, 2014 1 commit
  8. 11 Sep, 2014 1 commit
    • Kenny Root's avatar
      isEmpty checks all files like reset · 31e27468
      Kenny Root authored
      Since reset deletes all files in a user directory, change isEmpty to
      alse look at all files in the directory. This makes the two symmetric.
      
      Bug: 16935053
      Change-Id: Id30685203f4b5484d757022ee971f8d877c15263
      31e27468
  9. 04 Sep, 2014 2 commits
  10. 03 Sep, 2014 1 commit
  11. 29 Aug, 2014 7 commits
  12. 13 Aug, 2014 4 commits
  13. 12 Aug, 2014 1 commit
    • Robin Lee's avatar
      Correct double-convert from uid to userid · 50122db5
      Robin Lee authored
      This was making readMasterKey and writeMasterKey always operate on
      user 0, because of a double-division - getUserState(*) already
      takes into account that the argument is a uid.
      
      Fixes a number of issues related to multi-user and keystore; works
      toward fixing bug 16233206.
      
      Change-Id: Ia1434fd0d076b0c36d383ff7390b17c78d7811b5
      50122db5
  14. 01 Aug, 2014 2 commits
  15. 31 Jul, 2014 7 commits
  16. 29 Jul, 2014 1 commit
  17. 30 Jul, 2014 1 commit
    • Kenny Root's avatar
      keystore: fully reset user keystore on request · a71c9d6b
      Kenny Root authored
      The reset was improperly skipping the .masterkey file which left
      keystore in a "LOCKED" state next time it was started up. The .masterkey
      should have been deleted to leave it in the requested "UNINITIALIZED"
      state next time it started.
      
      It looks like some logic was left over to check the UID to see if it
      matches the current user. Currently there's no way to have a UID in
      the user directory that doesn't match the current user.
      
      Bug: 13886753
      Change-Id: Icd3a1a55153a0dd28a26d51a5ae7f6de1a7da043
      a71c9d6b
  18. 30 Jun, 2014 1 commit