1. 01 May, 2015 1 commit
  2. 30 Apr, 2015 3 commits
  3. 28 Apr, 2015 1 commit
    • Chad Brubaker's avatar
      Move auth token checking to begin · 0cf34a24
      Chad Brubaker authored
      Auth tokens will now be checked on begin and then used for all
      subsequent calls for that operation, this means that things like
      auth timeouts will only be checked on begin, and operation that starts
      at timeout - .00001 will now be able to be used to completion.
      
      One exception to this is keys that use per operation authorization.
      Begin for these operations must succeed so that the application gets a
      handle to authorize. For those keys if the application calls update
      before authorizing the operation the call will fail. For these keys
      begin will return OP_AUTH_NEEDED so let the caller know more work is
      needed before using the operation.
      
      (cherry picked from commit aebbfc2b)
      
      Change-Id: I3da4f93a076c0ed2d8630ca8cd1608e9bad2c2ff
      0cf34a24
  4. 18 Apr, 2015 5 commits
  5. 17 Apr, 2015 3 commits
  6. 16 Apr, 2015 12 commits
  7. 15 Apr, 2015 4 commits
  8. 14 Apr, 2015 1 commit
    • Chad Brubaker's avatar
      Refactor permission and state checking · 9489b790
      Chad Brubaker authored
      Move the permission checking code to checkBinderPermission and
      checkBinderPermissionOrSelf target to simplify permission checking code
      and clean up keystore methods. Also adds
      checkBinderPermissionAndKeystoreState as a helper method to check the
      permission and the unlock state of the keystore.
      
      Change-Id: I77c94af1593d2a7fd100c79a6364583067ffa559
      9489b790
  9. 13 Apr, 2015 5 commits
  10. 10 Apr, 2015 4 commits
  11. 09 Apr, 2015 1 commit
    • Chad Brubaker's avatar
      Store the key characteristics for operations · ad6514ab
      Chad Brubaker authored
      Instead of storing the key blob and parsing the characteristics out,
      which some implementations might not support, instead call get
      characteristics on begin and store that result for subsequent auth
      calls.
      
      Change-Id: I75e39ee28cc440e4ed411b2daaa2744085e1aa12
      ad6514ab