]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_cryptkit/lib/feeFunctions.h
Security-59306.11.20.tar.gz
[apple/security.git] / OSX / libsecurity_cryptkit / lib / feeFunctions.h
1 /* Copyright (c) 1998,2011-2012,2014 Apple Inc. All Rights Reserved.
2 *
3 * NOTICE: USE OF THE MATERIALS ACCOMPANYING THIS NOTICE IS SUBJECT
4 * TO THE TERMS OF THE SIGNED "FAST ELLIPTIC ENCRYPTION (FEE) REFERENCE
5 * SOURCE CODE EVALUATION AGREEMENT" BETWEEN APPLE, INC. AND THE
6 * ORIGINAL LICENSEE THAT OBTAINED THESE MATERIALS FROM APPLE,
7 * INC. ANY USE OF THESE MATERIALS NOT PERMITTED BY SUCH AGREEMENT WILL
8 * EXPOSE YOU TO LIABILITY.
9 ***************************************************************************
10 *
11 * feeFunctions.h - general public function declarations
12 *
13 * Revision History
14 * ----------------
15 * 8/25/98 ap
16 * Fixed previous check-in comment.
17 * 8/24/98 ap
18 * Added tags around #endif comment.
19 * 23 Mar 98 at Apple
20 * Added initCryptKit().
21 * 27 Aug 96 at NeXT
22 * Created.
23 */
24
25 #ifndef _CK_FEEFUNCTIONS_H_
26 #define _CK_FEEFUNCTIONS_H_
27
28 #include <security_cryptkit/feeTypes.h>
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 /*
35 * One-time only init of CryptKit library.
36 */
37 void initCryptKit(void);
38
39 /*
40 * Shutdown.
41 */
42 void terminateCryptKit(void);
43
44 /*
45 * obtain a string describing a feeReturn.
46 */
47 extern const char *feeReturnString(feeReturn frtn);
48
49 #ifdef __cplusplus
50 }
51 #endif
52
53 #endif /*_CK_FEEFUNCTIONS_H_*/