aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-27 20:28:19 -0400
committerJack Lloyd <[email protected]>2017-09-27 20:28:19 -0400
commit9c8a5e5d8f9f2e0bc4607255dadcb1d44aa1b2b8 (patch)
treeb206bb37edbe745242c7e7471249af20ca656369 /src/lib
parentc3b3d344b46099fff9c4d65556a45c973398a20f (diff)
Make poly_dbl.h a submodule of utils
Only required by a few modules and if none of them are in use then the whole thing can just be skipped from the build.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/mac/cmac/info.txt4
-rw-r--r--src/lib/modes/aead/ocb/info.txt4
-rw-r--r--src/lib/modes/aead/siv/info.txt1
-rw-r--r--src/lib/modes/xts/info.txt4
-rw-r--r--src/lib/utils/info.txt1
-rw-r--r--src/lib/utils/poly_dbl/info.txt7
-rw-r--r--src/lib/utils/poly_dbl/poly_dbl.cpp (renamed from src/lib/utils/poly_dbl.cpp)0
-rw-r--r--src/lib/utils/poly_dbl/poly_dbl.h (renamed from src/lib/utils/poly_dbl.h)0
8 files changed, 20 insertions, 1 deletions
diff --git a/src/lib/mac/cmac/info.txt b/src/lib/mac/cmac/info.txt
index 01bdf7884..bdddca1b2 100644
--- a/src/lib/mac/cmac/info.txt
+++ b/src/lib/mac/cmac/info.txt
@@ -1,3 +1,7 @@
<defines>
CMAC -> 20131128
</defines>
+
+<requires>
+poly_dbl
+</requires>
diff --git a/src/lib/modes/aead/ocb/info.txt b/src/lib/modes/aead/ocb/info.txt
index ab4c5297e..9af91f238 100644
--- a/src/lib/modes/aead/ocb/info.txt
+++ b/src/lib/modes/aead/ocb/info.txt
@@ -1,3 +1,7 @@
<defines>
AEAD_OCB -> 20131128
</defines>
+
+<requires>
+poly_dbl
+</requires>
diff --git a/src/lib/modes/aead/siv/info.txt b/src/lib/modes/aead/siv/info.txt
index d25798ac9..4a8d3a846 100644
--- a/src/lib/modes/aead/siv/info.txt
+++ b/src/lib/modes/aead/siv/info.txt
@@ -7,4 +7,5 @@ load_on auto
<requires>
cmac
ctr
+poly_dbl
</requires>
diff --git a/src/lib/modes/xts/info.txt b/src/lib/modes/xts/info.txt
index 04cd046c7..2a41f696f 100644
--- a/src/lib/modes/xts/info.txt
+++ b/src/lib/modes/xts/info.txt
@@ -1,3 +1,7 @@
<defines>
MODE_XTS -> 20131128
</defines>
+
+<requires>
+poly_dbl
+</requires>
diff --git a/src/lib/utils/info.txt b/src/lib/utils/info.txt
index 644bff901..5a0ce469c 100644
--- a/src/lib/utils/info.txt
+++ b/src/lib/utils/info.txt
@@ -31,7 +31,6 @@ ct_utils.h
donna128.h
filesystem.h
os_utils.h
-poly_dbl.h
prefetch.h
rounding.h
safeint.h
diff --git a/src/lib/utils/poly_dbl/info.txt b/src/lib/utils/poly_dbl/info.txt
new file mode 100644
index 000000000..5aae5b44f
--- /dev/null
+++ b/src/lib/utils/poly_dbl/info.txt
@@ -0,0 +1,7 @@
+<defines>
+POLY_DBL -> 20170927
+</defines>
+
+<header:internal>
+poly_dbl.h
+</header:internal>
diff --git a/src/lib/utils/poly_dbl.cpp b/src/lib/utils/poly_dbl/poly_dbl.cpp
index 2b989db57..2b989db57 100644
--- a/src/lib/utils/poly_dbl.cpp
+++ b/src/lib/utils/poly_dbl/poly_dbl.cpp
diff --git a/src/lib/utils/poly_dbl.h b/src/lib/utils/poly_dbl/poly_dbl.h
index 10c85c567..10c85c567 100644
--- a/src/lib/utils/poly_dbl.h
+++ b/src/lib/utils/poly_dbl/poly_dbl.h