]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_cryptkit/lib/giantPortCommon.h
Security-58286.51.6.tar.gz
[apple/security.git] / OSX / libsecurity_cryptkit / lib / giantPortCommon.h
1 /* Copyright (c) 1998,2011,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 giantPortCommon.h - common header used to specify and access
12 platform-dependent giant digit routines.
13
14 Revision History
15 ----------------
16 1 Sep 98 at Apple
17 Created.
18
19 *******************************/
20
21 #ifndef _CRYPTKIT_GIANT_PORT_COMMON_H_
22 #define _CRYPTKIT_GIANT_PORT_COMMON_H_
23
24 #if defined(__i386__) && defined(__GNUC__)
25 /* Mac OS X, Intel, Gnu compiler */
26 /* This module doesn't compile yet, punt and use the
27 * inline C functions */
28 #include "giantPort_Generic.h"
29
30 #elif defined(__ppc__) && defined(__MACH__)
31 /* Mac OS X, PPC, Gnu compiler */
32 #include "giantPort_PPC_Gnu.h"
33
34 #elif defined(__ppc__ ) && defined(macintosh)
35
36 /* Mac OS 9, PPC, Metrowerks */
37 #include "giantPort_PPC.h"
38
39 #else
40
41 /* Others */
42 #include "giantPort_Generic.h"
43
44 #endif
45
46 #endif /* _CRYPTKIT_GIANT_PORT_COMMON_H_ */