diff options
author | Andres Morales <anmorales@google.com> | 2015-06-22 08:31:15 -0700 |
---|---|---|
committer | Andres Morales <anmorales@google.com> | 2015-06-22 12:08:26 -0700 |
commit | e547f93b0089f12c78d33b83e5f49fdb0e0c85bc (patch) | |
tree | 35def4c9745bdd66e4d1cea6037693b6a9ec9390 | |
parent | bd0b418f6c9d29f4dfd2cb07827568efe0f0733f (diff) | |
download | gatekeeper-e547f93b0089f12c78d33b83e5f49fdb0e0c85bc.tar.gz |
[gatekeeper] make DoVerify protectedandroid-cts-6.0_r9android-cts-6.0_r8android-cts-6.0_r7android-cts-6.0_r6android-cts-6.0_r5android-cts-6.0_r4android-cts-6.0_r32android-cts-6.0_r31android-cts-6.0_r30android-cts-6.0_r3android-cts-6.0_r29android-cts-6.0_r28android-cts-6.0_r27android-cts-6.0_r26android-cts-6.0_r25android-cts-6.0_r24android-cts-6.0_r23android-cts-6.0_r22android-cts-6.0_r21android-cts-6.0_r20android-cts-6.0_r2android-cts-6.0_r19android-cts-6.0_r18android-cts-6.0_r17android-cts-6.0_r16android-cts-6.0_r15android-cts-6.0_r14android-cts-6.0_r13android-cts-6.0_r12android-cts-6.0_r1android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r66android-6.0.1_r65android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r20android-6.0.1_r17android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r7android-6.0.0_r6android-6.0.0_r5android-6.0.0_r41android-6.0.0_r4android-6.0.0_r3android-6.0.0_r26android-6.0.0_r25android-6.0.0_r24android-6.0.0_r23android-6.0.0_r2android-6.0.0_r13android-6.0.0_r12android-6.0.0_r11android-6.0.0_r1marshmallow-releasemarshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-mr1-devmarshmallow-dr-releasemarshmallow-dr-devmarshmallow-devmarshmallow-cts-release
Bug: 21445004
Change-Id: Iac7967c72b4455813a043b24941f9bfd7bf8878e
-rw-r--r-- | include/gatekeeper/gatekeeper.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/gatekeeper/gatekeeper.h b/include/gatekeeper/gatekeeper.h index e1950f6..7e1421f 100644 --- a/include/gatekeeper/gatekeeper.h +++ b/include/gatekeeper/gatekeeper.h @@ -164,6 +164,11 @@ protected: */ virtual bool IsHardwareBacked() const = 0; + /** + * Verifies that handle matches password HMAC'ed with the password_key + */ + virtual bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password); + private: /** * Generates a signed attestation of an authentication event and assings @@ -175,11 +180,6 @@ private: secure_id_t user_id, secure_id_t authenticator_id, uint64_t challenge); /** - * Verifies that handle matches password HMAC'ed with the password_key - */ - bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password); - - /** * Populates password_handle with the data provided and computes HMAC. */ bool CreatePasswordHandle(SizedBuffer *password_handle, salt_t salt, |