Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: interface.cc

Issue 6823012: cryptohome: Add stub functions to query PKCS11 set up status (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cryptohome.git@master
Patch Set: word wrap Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « interface.h ('k') | pkcs11_init.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: interface.cc
diff --git a/interface.cc b/interface.cc
index ad115ba03b8ab03f18c2bb412305a32b05542a3e..71221cb6b8670b93647873c5efecbbd2709a1fbe 100644
--- a/interface.cc
+++ b/interface.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "interface.h"
@@ -201,6 +201,17 @@ gboolean cryptohome_tpm_clear_stored_password(Cryptohome *self,
GError **error) {
CRYPTOHOME_WRAP_METHOD_NO_ARGS(TpmClearStoredPassword);
}
+gboolean cryptohome_pkcs11_get_tpm_token_info(Cryptohome *self,
+ gchar **OUT_label,
+ gchar **OUT_user_pin,
+ GError **error) {
+ CRYPTOHOME_WRAP_METHOD(Pkcs11GetTpmTokenInfo, OUT_label, OUT_user_pin);
+}
+gboolean cryptohome_pkcs11_is_tpm_token_ready(Cryptohome *self,
+ gboolean *OUT_ready,
+ GError **error) {
+ CRYPTOHOME_WRAP_METHOD(Pkcs11IsTpmTokenReady, OUT_ready);
+}
gboolean cryptohome_get_status_string(Cryptohome *self,
gchar **OUT_status,
GError **error) {
« no previous file with comments | « interface.h ('k') | pkcs11_init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698