summaryrefslogtreecommitdiffstats
path: root/base/crypto/cssm_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/crypto/cssm_init.h')
-rw-r--r--base/crypto/cssm_init.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/crypto/cssm_init.h b/base/crypto/cssm_init.h
index 20eda50..2637542 100644
--- a/base/crypto/cssm_init.h
+++ b/base/crypto/cssm_init.h
@@ -5,6 +5,11 @@
#ifndef BASE_CRYPTO_CSSM_INIT_H_
#define BASE_CRYPTO_CSSM_INIT_H_
+#include <Security/cssm.h>
+
+#include "base/logging.h"
+#include "base/scoped_ptr.h"
+
namespace base {
// Initialize CSSM if it isn't already initialized. This must be called before
@@ -12,6 +17,9 @@ namespace base {
// ever be initialized once. CSSM will be properly shut down on program exit.
void EnsureCSSMInit();
+// Set of pointers to memory function wrappers that are required for CSSM
+extern const CSSM_API_MEMORY_FUNCS kCssmMemoryFunctions;
+
} // namespace base
#endif // BASE_CRYPTO_CSSM_INIT_H_