Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: base/nss_util_internal.h

Issue 6667020: This change loads opencryptoki and uses the TPM for keygen tags. (Closed) Base URL: svn://
Patch Set: Added TODO Created 9 years, 9 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
Index: base/nss_util_internal.h
diff --git a/base/nss_util_internal.h b/base/nss_util_internal.h
index 139740b4ab367935de237a73b561901697fe1e6a..2467fd7b448b84287dcad0b5e9bd30595ed30b3b 100644
--- a/base/nss_util_internal.h
+++ b/base/nss_util_internal.h
@@ -17,6 +17,12 @@ namespace base {
// reference with PK11_FreeSlot.
PK11SlotInfo* GetDefaultNSSKeySlot();
+// On ChromeOS, returns a reference to the builtin hardware TPM
+// slot. Caller must release reference with PK11_FreeSlot. If no
+// hardware key is present, will return NULL. On other OSs, This is
wtc 2011/03/16 18:41:44 Nit: hardware key => hardware TPM
Greg Spencer (Chromium) 2011/03/16 21:37:51 Done.
+// the same as GetDefaultNSSKeySlot().
+PK11SlotInfo* GetRsaKeySlot();
} // namespace base
#endif // BASE_NSS_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698