]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_cryptkit/lib/giantPortCommon.h
Security-57336.1.9.tar.gz
[apple/security.git] / OSX / libsecurity_cryptkit / lib / giantPortCommon.h
diff --git a/OSX/libsecurity_cryptkit/lib/giantPortCommon.h b/OSX/libsecurity_cryptkit/lib/giantPortCommon.h
new file mode 100644 (file)
index 0000000..a5d1de9
--- /dev/null
@@ -0,0 +1,46 @@
+/* Copyright (c) 1998,2011,2014 Apple Inc.  All Rights Reserved.
+ *
+ * NOTICE: USE OF THE MATERIALS ACCOMPANYING THIS NOTICE IS SUBJECT
+ * TO THE TERMS OF THE SIGNED "FAST ELLIPTIC ENCRYPTION (FEE) REFERENCE
+ * SOURCE CODE EVALUATION AGREEMENT" BETWEEN APPLE, INC. AND THE
+ * ORIGINAL LICENSEE THAT OBTAINED THESE MATERIALS FROM APPLE,
+ * INC.  ANY USE OF THESE MATERIALS NOT PERMITTED BY SUCH AGREEMENT WILL
+ * EXPOSE YOU TO LIABILITY.
+ ***************************************************************************
+
+   giantPortCommon.h - common header used to specify and access
+         platform-dependent giant digit routines.
+
+ Revision History
+ ----------------
+ 1 Sep 98 at Apple
+       Created.
+
+*******************************/
+
+#ifndef _CRYPTKIT_GIANT_PORT_COMMON_H_
+#define _CRYPTKIT_GIANT_PORT_COMMON_H_
+
+#if    defined(__i386__) && defined(__GNUC__)
+/* Mac OS X, Intel, Gnu compiler */
+/* This module doesn't compile yet, punt and use the 
+ * inline C functions */
+#include "giantPort_Generic.h"
+
+#elif  defined(__ppc__) && defined(__MACH__)
+/* Mac OS X, PPC, Gnu compiler */
+#include "giantPort_PPC_Gnu.h"
+
+#elif defined(__ppc__ ) && defined(macintosh)
+
+/* Mac OS 9, PPC, Metrowerks */
+#include "giantPort_PPC.h"
+
+#else
+
+/* Others */
+#include "giantPort_Generic.h"
+
+#endif
+
+#endif /* _CRYPTKIT_GIANT_PORT_COMMON_H_ */