]> git.saurik.com Git - apple/security.git/blob - SecurityTests/clxutils/clAppUtils/clutils.h
Security-57337.40.85.tar.gz
[apple/security.git] / SecurityTests / clxutils / clAppUtils / clutils.h
1 /*
2 * clutils.h - common CL app-level routines, X version
3 */
4
5 #ifndef _CL_APP_UTILS_CLUTILS_H_
6 #define _CL_APP_UTILS_CLUTILS_H_
7
8 #include <Security/cssm.h>
9 #include <utilLib/common.h>
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 CSSM_CL_HANDLE clStartup();
16 void clShutdown(
17 CSSM_CL_HANDLE clHand);
18
19 CSSM_TP_HANDLE tpStartup();
20 void tpShutdown(
21 CSSM_TP_HANDLE tpHand);
22
23
24 CSSM_DATA_PTR intToDER(unsigned theInt);
25 uint32 DER_ToInt(const CSSM_DATA *DER_Data);
26
27 #ifdef __cplusplus
28 }
29 #endif
30
31 #endif /* _CL_APP_UTILS_CLUTILS_H_ */