diff options
Diffstat (limited to 'base/crypto/cssm_init.h')
-rw-r--r-- | base/crypto/cssm_init.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/crypto/cssm_init.h b/base/crypto/cssm_init.h index 2637542..721b2e8 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_ |