Commit Graph

232 Commits

Author SHA1 Message Date
Leonetienne fd75678ea3 Added encryption module, and data output layer 2022-05-31 17:35:05 +02:00
Leonetienne a00b8cc310 Fix Indentation 2022-05-31 17:07:45 +02:00
Leonetienne f979b9c187 Add additional methods to data ingestion layer 2022-05-31 15:32:17 +02:00
Leonetienne 6a14b7b428 Forbid instanciation of static classes 2022-05-31 14:28:17 +02:00
Leonetienne 2f6df42696 Implement relevant methods for DataIngestionLayer 2022-05-31 14:25:23 +02:00
Leonetienne 3823eb6cc7 Fix typo in comment 2022-05-31 10:44:05 +02:00
Leonetienne 87987f6fe2 Implement unified istream for ingestion layer 2022-05-27 18:26:48 +02:00
Leonetienne 5df625e610 Rename cmake cli target name 2022-05-27 17:21:30 +02:00
Leonetienne b9d81d1425 Change module GenerateKeyfile to more versatile GenerateKey, which doesnt have to output to a file 2022-05-27 17:21:10 +02:00
Leonetienne 93be4d9cdc Implement GenerateKeyfile module 2022-05-27 17:04:16 +02:00
Leonetienne 191b17c631 Fix Key::WriteToFile method being not const qualified 2022-05-27 17:04:05 +02:00
Leonetienne 5365233b43 A bit of cleanup 2022-05-27 16:50:18 +02:00
Leonetienne b0d0f831d9 Removed bunch of garbage from main.cpp 2022-05-27 16:14:24 +02:00
Leonetienne 186fea1383 More tests on data formatter 2022-05-27 16:08:24 +02:00
Leonetienne cf22f8c569 Added tests for recoding single blocks to all formats 2022-05-27 15:56:28 +02:00
Leonetienne 2fa67b6860 Renamed method, and added first test to cli 2022-05-27 15:34:16 +02:00
Leonetienne 612157bcac Added test project 2022-05-27 15:27:33 +02:00
Leonetienne b888585f75 A bit of error handling and better comments 2022-05-27 14:47:26 +02:00
Leonetienne 2eb0754b4e Remove unused code 2022-05-27 03:34:02 +02:00
Leonetienne 0a248b6d86 Fix multiple definition issue 2022-05-27 03:30:11 +02:00
Leonetienne 0e47b11a2c Proper include guard 2022-05-27 03:29:51 +02:00
Leonetienne 6834ea4ad8 Move blocklenght lookup table to Bases.h 2022-05-27 03:27:43 +02:00
Leonetienne 407c0ad5bc Better comment. 2022-05-27 03:01:47 +02:00
Leonetienne 2ecf0cc427 Added multiblocks methods to data formatter 2022-05-27 03:00:34 +02:00
Leonetienne 8e04e91e88 Got block conversions working... 2022-05-27 02:13:05 +02:00
Leonetienne f6d646da55 Implemented to-block methods of dataformatter 2022-05-26 23:22:04 +02:00
Leonetienne 6ac775105b Implement output formatting module 2022-05-26 22:30:59 +02:00
Leonetienne fad87e9944 Add exceptoins 2022-05-26 22:06:04 +02:00
Leonetienne dddc2d16f6 Added module PrepareKey 2022-05-26 21:56:15 +02:00
Leonetienne 8b9221e2e0 Add Configuration class to intelligently decide default settings 2022-05-26 21:32:55 +02:00
Leonetienne f28e510dba Adjust cli parameter definitions 2022-05-26 20:19:15 +02:00
Leonetienne 0f46ed7115 GCryptLib version bump 2022-05-26 19:59:16 +02:00
Leonetienne 75c4b0a0d9 More streamlined naming scheme for digestion method of ghash 2022-05-26 19:57:14 +02:00
Leonetienne f246e3a5ef Fix dangling hint 2022-05-26 19:34:58 +02:00
Leonetienne 2194ad1ce3 Fix apple linker problem 2022-05-26 19:25:40 +02:00
Leonetienne 876129f05f Added how2compile to readme 2022-05-26 19:05:35 +02:00
Leonetienne 849d34613e Add new visualizations 2022-05-26 18:59:59 +02:00
Leonetienne cad96a19a2 Fix bad filename in visualization 2022-05-26 18:59:05 +02:00
Leonetienne c0418766d9 Tidied up example/static test executables 2022-05-26 18:24:44 +02:00
Leonetienne e7c1e17e2c Got rid of flexblocks 2022-05-26 15:47:24 +02:00
Leonetienne 143ec19bf3 Many methods now using vectors of blocks instead of flexblocks 2022-05-26 15:04:39 +02:00
Leonetienne 800140bafa Added a method to GPrng to get a random uint32, which is about twice as fast as GetRandom<uint32_t> 2022-05-26 12:52:04 +02:00
Leonetienne e9377699f2 Made GPrng::GetBlock() faster by a factor of 100 2022-05-26 12:23:27 +02:00
Leonetienne 660ab5e999 Unstupided mathematical expression 2022-05-26 04:40:23 +02:00
Leonetienne c3ff7a1326 Fix markup in artifacts 2022-05-26 04:25:02 +02:00
Leonetienne 8cf8ad2628 Add artifact directory 2022-05-26 04:23:32 +02:00
Leonetienne 81a9570673 Implement direct file i/o to- and from blocks. 2022-05-26 04:22:42 +02:00
Leonetienne 101a1e0fd6 Add additional jumbling-up in feistel rounds 2022-05-26 02:44:22 +02:00
Leonetienne bc3dae96a3 Implement new sbox, reduction, and expansion function 2022-05-26 02:30:16 +02:00
Leonetienne 8ddd9d6bfb Replaced halfblock with instanciation of Basic_Block 2022-05-26 00:55:24 +02:00