summaryrefslogtreecommitdiff
path: root/crypto/openssl/include/crypto/bn_conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/include/crypto/bn_conf.h')
-rw-r--r--crypto/openssl/include/crypto/bn_conf.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/crypto/openssl/include/crypto/bn_conf.h b/crypto/openssl/include/crypto/bn_conf.h
new file mode 100644
index 0000000000000..cf11513144a2a
--- /dev/null
+++ b/crypto/openssl/include/crypto/bn_conf.h
@@ -0,0 +1,35 @@
+/* $FreeBSD$ */
+/* WARNING: do not edit! */
+/* Generated by Makefile from include/crypto/bn_conf.h.in */
+/*
+ * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the OpenSSL license (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#ifndef OSSL_CRYPTO_BN_CONF_H
+# define OSSL_CRYPTO_BN_CONF_H
+
+/*
+ * The contents of this file are not used in the UEFI build, as
+ * both 32-bit and 64-bit builds are supported from a single run
+ * of the Configure script.
+ */
+
+/* Should we define BN_DIV2W here? */
+
+/* Only one for the following should be defined */
+#ifdef __LP64__
+#define SIXTY_FOUR_BIT_LONG
+#undef SIXTY_FOUR_BIT
+#undef THIRTY_TWO_BIT
+#else
+#undef SIXTY_FOUR_BIT_LONG
+#undef SIXTY_FOUR_BIT
+#define THIRTY_TWO_BIT
+#endif
+
+#endif