diff options
author | Andres Morales <anmorales@google.com> | 2015-06-22 19:57:04 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-06-22 19:57:04 +0000 |
commit | adbcf04617e536283d0e08a3093ed2e835bfc76f (patch) | |
tree | a1456abd568a5b8401492052bc7684bfd04a88f9 | |
parent | 992a033c22e6ef939f7a24e73aa4ee060d0d42ab (diff) | |
parent | e547f93b0089f12c78d33b83e5f49fdb0e0c85bc (diff) | |
download | gatekeeper-adbcf04617e536283d0e08a3093ed2e835bfc76f.tar.gz |
am e547f93b: [gatekeeper] make DoVerify protected
* commit 'e547f93b0089f12c78d33b83e5f49fdb0e0c85bc':
[gatekeeper] make DoVerify protected
-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, |