aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-12-13 10:00:52 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-12-13 10:00:52 +0800
commit8b96a3c3324d0dd688a232bddce4e7b4649fea8e (patch)
tree19f2cc89e609148a2981efa4c5c0e379788ca7eb
parent5a16675a178c873d76ba8c66426e01591d1ca903 (diff)
downloaddexon-mcl-8b96a3c3324d0dd688a232bddce4e7b4649fea8e.tar.gz
dexon-mcl-8b96a3c3324d0dd688a232bddce4e7b4649fea8e.tar.zst
dexon-mcl-8b96a3c3324d0dd688a232bddce4e7b4649fea8e.zip
move bn_c_impl.hpp to public
-rw-r--r--include/mcl/impl/bn_c_impl.hpp (renamed from src/bn_c_impl.hpp)4
-rw-r--r--src/bn_c256.cpp2
-rw-r--r--src/bn_c384.cpp2
-rw-r--r--src/bn_c384_256.cpp2
-rw-r--r--src/bn_c512.cpp2
-rw-r--r--src/she_c_impl.hpp2
6 files changed, 9 insertions, 5 deletions
diff --git a/src/bn_c_impl.hpp b/include/mcl/impl/bn_c_impl.hpp
index a31b4f8..7d92fe6 100644
--- a/src/bn_c_impl.hpp
+++ b/include/mcl/impl/bn_c_impl.hpp
@@ -1,3 +1,7 @@
+/*
+ This is an internal header
+ Do not include this
+*/
#define MCLBN_DLL_EXPORT
#include <mcl/bn.h>
diff --git a/src/bn_c256.cpp b/src/bn_c256.cpp
index 5c30074..2f975a2 100644
--- a/src/bn_c256.cpp
+++ b/src/bn_c256.cpp
@@ -2,5 +2,5 @@
implementation of mclBn_* apis
*/
#define MCLBN_FP_UNIT_SIZE 4
-#include "bn_c_impl.hpp"
+#include "mcl/impl/bn_c_impl.hpp"
diff --git a/src/bn_c384.cpp b/src/bn_c384.cpp
index 067e728..934a078 100644
--- a/src/bn_c384.cpp
+++ b/src/bn_c384.cpp
@@ -3,5 +3,5 @@
*/
#define MCLBN_FP_UNIT_SIZE 6
#define MCLBN_FR_UNIT_SIZE 6
-#include "bn_c_impl.hpp"
+#include "mcl/impl/bn_c_impl.hpp"
diff --git a/src/bn_c384_256.cpp b/src/bn_c384_256.cpp
index 5630e83..ecd968e 100644
--- a/src/bn_c384_256.cpp
+++ b/src/bn_c384_256.cpp
@@ -3,5 +3,5 @@
*/
#define MCLBN_FP_UNIT_SIZE 6
#define MCLBN_FR_UNIT_SIZE 4
-#include "bn_c_impl.hpp"
+#include "mcl/impl/bn_c_impl.hpp"
diff --git a/src/bn_c512.cpp b/src/bn_c512.cpp
index 90be2d9..7c10295 100644
--- a/src/bn_c512.cpp
+++ b/src/bn_c512.cpp
@@ -2,5 +2,5 @@
implementation of mclBn_* apis
*/
#define MCLBN_FP_UNIT_SIZE 8
-#include "bn_c_impl.hpp"
+#include "mcl/impl/bn_c_impl.hpp"
diff --git a/src/she_c_impl.hpp b/src/she_c_impl.hpp
index 723765a..073bc2b 100644
--- a/src/she_c_impl.hpp
+++ b/src/she_c_impl.hpp
@@ -5,7 +5,7 @@
#include <iosfwd>
#include <stdint.h>
#include <memory.h>
-#include "../src/bn_c_impl.hpp"
+#include "mcl/impl/bn_c_impl.hpp"
#define MCLSHE_DLL_EXPORT
#include <mcl/she.h>