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

Unified Diff: base/crypto/cssm_init.h

Issue 1347002: Add Mac implementations of new SymmetricKey and Encryptor classes. (Closed)
Patch Set: Responding to feedback Created 10 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
« no previous file with comments | « no previous file | base/crypto/cssm_init.cc » ('j') | base/crypto/cssm_init.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/crypto/cssm_init.h
diff --git a/base/crypto/cssm_init.h b/base/crypto/cssm_init.h
index 2637542bafd20349518594af723c163586db163a..721b2e8699cc729d1d15ba99eb953c69255d0a0d 100644
--- a/base/crypto/cssm_init.h
+++ b/base/crypto/cssm_init.h
@@ -17,9 +17,15 @@ namespace base {
// ever be initialized once. CSSM will be properly shut down on program exit.
void EnsureCSSMInit();
+// Returns the shared CSP handle used by CSSM functions.
+CSSM_CSP_HANDLE GetSharedCSPHandle();
+
// Set of pointers to memory function wrappers that are required for CSSM
extern const CSSM_API_MEMORY_FUNCS kCssmMemoryFunctions;
+// Utility function to log an error message including the error name.
+void LogCSSMError(const char *function_name, CSSM_RETURN err);
+
} // namespace base
#endif // BASE_CRYPTO_CSSM_INIT_H_
« no previous file with comments | « no previous file | base/crypto/cssm_init.cc » ('j') | base/crypto/cssm_init.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698