]>
git.saurik.com Git - apple/security.git/blob - OSX/include/security_cryptkit/giantPortCommon.h
1 /* Copyright (c) 1998,2011,2014 Apple Inc. All Rights Reserved.
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 ***************************************************************************
11 giantPortCommon.h - common header used to specify and access
12 platform-dependent giant digit routines.
19 *******************************/
21 #ifndef _CRYPTKIT_GIANT_PORT_COMMON_H_
22 #define _CRYPTKIT_GIANT_PORT_COMMON_H_
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"
30 #elif defined(__ppc__) && defined(__MACH__)
31 /* Mac OS X, PPC, Gnu compiler */
32 #include "giantPort_PPC_Gnu.h"
34 #elif defined(__ppc__ ) && defined(macintosh)
36 /* Mac OS 9, PPC, Metrowerks */
37 #include "giantPort_PPC.h"
42 #include "giantPort_Generic.h"
46 #endif /* _CRYPTKIT_GIANT_PORT_COMMON_H_ */