diff options
author | Jack Lloyd <[email protected]> | 2018-09-13 12:16:12 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-09-13 12:16:12 -0400 |
commit | fd432b5cb33b0277035d7570b18451dfae4a5f2c (patch) | |
tree | 05ff5be9fea4a71d6f7b5e0ff1bf55a02fa522cb /src/lib/block | |
parent | fb102792aabefabf0e37b0e207f04be2eeedb8c5 (diff) |
Split 'cast' module into CAST-128 and CAST-256
They were only in the same place because of the desire to share
the sbox tables, but that can be handled by adding a dependency.
This makes it possible to disable CAST-256 while leaving CAST-128.
Diffstat (limited to 'src/lib/block')
-rw-r--r-- | src/lib/block/cast128/cast128.cpp (renamed from src/lib/block/cast/cast128.cpp) | 0 | ||||
-rw-r--r-- | src/lib/block/cast128/cast128.h (renamed from src/lib/block/cast/cast128.h) | 0 | ||||
-rw-r--r-- | src/lib/block/cast128/cast_sboxes.h (renamed from src/lib/block/cast/cast_sboxes.h) | 0 | ||||
-rw-r--r-- | src/lib/block/cast128/info.txt (renamed from src/lib/block/cast/info.txt) | 2 | ||||
-rw-r--r-- | src/lib/block/cast256/cast256.cpp (renamed from src/lib/block/cast/cast256.cpp) | 0 | ||||
-rw-r--r-- | src/lib/block/cast256/cast256.h (renamed from src/lib/block/cast/cast256.h) | 0 | ||||
-rw-r--r-- | src/lib/block/cast256/info.txt | 7 |
7 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/block/cast/cast128.cpp b/src/lib/block/cast128/cast128.cpp index 442c6fc58..442c6fc58 100644 --- a/src/lib/block/cast/cast128.cpp +++ b/src/lib/block/cast128/cast128.cpp diff --git a/src/lib/block/cast/cast128.h b/src/lib/block/cast128/cast128.h index 3a1740777..3a1740777 100644 --- a/src/lib/block/cast/cast128.h +++ b/src/lib/block/cast128/cast128.h diff --git a/src/lib/block/cast/cast_sboxes.h b/src/lib/block/cast128/cast_sboxes.h index 9d52f6f6c..9d52f6f6c 100644 --- a/src/lib/block/cast/cast_sboxes.h +++ b/src/lib/block/cast128/cast_sboxes.h diff --git a/src/lib/block/cast/info.txt b/src/lib/block/cast128/info.txt index 3f2749953..6e6cf30ab 100644 --- a/src/lib/block/cast/info.txt +++ b/src/lib/block/cast128/info.txt @@ -1,7 +1,6 @@ <defines> CAST -> 20131128 CAST_128 -> 20171203 -CAST_256 -> 20171203 </defines> <header:internal> @@ -10,5 +9,4 @@ cast_sboxes.h <header:public> cast128.h -cast256.h </header:public> diff --git a/src/lib/block/cast/cast256.cpp b/src/lib/block/cast256/cast256.cpp index cd5175dd7..cd5175dd7 100644 --- a/src/lib/block/cast/cast256.cpp +++ b/src/lib/block/cast256/cast256.cpp diff --git a/src/lib/block/cast/cast256.h b/src/lib/block/cast256/cast256.h index 798649ef7..798649ef7 100644 --- a/src/lib/block/cast/cast256.h +++ b/src/lib/block/cast256/cast256.h diff --git a/src/lib/block/cast256/info.txt b/src/lib/block/cast256/info.txt new file mode 100644 index 000000000..b109fe053 --- /dev/null +++ b/src/lib/block/cast256/info.txt @@ -0,0 +1,7 @@ +<defines> +CAST_256 -> 20171203 +</defines> + +<requires> +cast128 +</requires> |