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_ |