Commit Graph
272 Commits
Author SHA1 Message Date
Leonetienne aac31ea5dc Removed bunch of garbage from main.cpp 2022-05-27 16:14:24 +02:00
Leonetienne 19edd5ce66 More tests on data formatter 2022-05-27 16:08:24 +02:00
Leonetienne facca04951 Added tests for recoding single blocks to all formats 2022-05-27 15:56:28 +02:00
Leonetienne 774dd4d152 Renamed method, and added first test to cli 2022-05-27 15:34:16 +02:00
Leonetienne 0a555855a3 Added test project 2022-05-27 15:27:33 +02:00
Leonetienne 2daf76f30e A bit of error handling and better comments 2022-05-27 14:47:26 +02:00
Leonetienne f858e7fc1b Remove unused code 2022-05-27 03:34:02 +02:00
Leonetienne 33436e55a5 Fix multiple definition issue 2022-05-27 03:30:11 +02:00
Leonetienne cb5fe0fd37 Proper include guard 2022-05-27 03:29:51 +02:00
Leonetienne 5412133e42 Move blocklenght lookup table to Bases.h 2022-05-27 03:27:43 +02:00
Leonetienne 050300c594 Better comment. 2022-05-27 03:01:47 +02:00
Leonetienne 798fdf22b7 Added multiblocks methods to data formatter 2022-05-27 03:00:34 +02:00
Leonetienne 7d9221a1de Got block conversions working... 2022-05-27 02:13:05 +02:00
Leonetienne 651641661e Implemented to-block methods of dataformatter 2022-05-26 23:22:04 +02:00
Leonetienne 8b90a5bf07 Implement output formatting module 2022-05-26 22:30:59 +02:00
Leonetienne cad651eab5 Add exceptoins 2022-05-26 22:06:04 +02:00
Leonetienne bf94eae8e7 Added module PrepareKey 2022-05-26 21:56:15 +02:00
Leonetienne 4ca536a38a Add Configuration class to intelligently decide default settings 2022-05-26 21:32:55 +02:00
Leonetienne 81c106c2c6 Adjust cli parameter definitions 2022-05-26 20:19:15 +02:00
Leonetienne 78c5c00944 GCryptLib version bump 2022-05-26 19:59:16 +02:00
Leonetienne 1ea89541f9 More streamlined naming scheme for digestion method of ghash 2022-05-26 19:57:14 +02:00
Leonetienne 3f990b30d0 Fix dangling hint 2022-05-26 19:34:58 +02:00
Leonetienne 3a7802d314 Fix apple linker problem 2022-05-26 19:25:40 +02:00
Leonetienne 44248914ef Added how2compile to readme 2022-05-26 19:05:35 +02:00
Leonetienne 5b0ea29b7b Add new visualizations 2022-05-26 18:59:59 +02:00
Leonetienne e7d44a871d Fix bad filename in visualization 2022-05-26 18:59:05 +02:00
Leonetienne 700a308fd6 Tidied up example/static test executables 2022-05-26 18:24:44 +02:00
Leonetienne 1cd465c977 Got rid of flexblocks 2022-05-26 15:47:24 +02:00
Leonetienne 05b29f32df Many methods now using vectors of blocks instead of flexblocks 2022-05-26 15:04:39 +02:00
Leonetienne f4df0f9ae5 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 6a5b9c1287 Made GPrng::GetBlock() faster by a factor of 100 2022-05-26 12:23:27 +02:00
Leonetienne bd9511c8b9 Unstupided mathematical expression 2022-05-26 04:40:23 +02:00
Leonetienne 02d12513f7 Fix markup in artifacts 2022-05-26 04:25:02 +02:00
Leonetienne 85f418307f Add artifact directory 2022-05-26 04:23:32 +02:00
Leonetienne 11e9d85a4f Implement direct file i/o to- and from blocks. 2022-05-26 04:22:42 +02:00
Leonetienne 1678e28b4d Add additional jumbling-up in feistel rounds 2022-05-26 02:44:22 +02:00
Leonetienne bdbf0ffa64 Implement new sbox, reduction, and expansion function 2022-05-26 02:30:16 +02:00
Leonetienne 02b27093ef Replaced halfblock with instanciation of Basic_Block 2022-05-26 00:55:24 +02:00
Leonetienne 3e1fa2c00a Typo in comment 2022-05-25 16:51:38 +02:00
Leonetienne c108b4a4b0 Templatified block class 2022-05-25 16:38:16 +02:00
Leonetienne ecd64e8637 Merge origin feature/relaunch into feature/relaunch 2022-05-25 14:58:40 +02:00
Leonetienne c66271eafe Fix macos compile issue 2022-05-25 14:57:40 +02:00
Leonetienne a55a8f221f Cipher now using new block class 2022-05-25 13:05:25 +02:00
Leonetienne 96ba2485c4 Added bitshift methods to block class 2022-05-25 12:54:26 +02:00
Leonetienne d8a39ad46f Add SetBit, and FlipBit methods to block 2022-05-24 23:51:17 +02:00
Leonetienne ac4b389efc Add GetBit() method to Block 2022-05-24 23:18:39 +02:00
Leonetienne 6c09afefba Implemented remaining operands for block class 2022-05-24 22:09:06 +02:00
Leonetienne ddbc209b58 Fix blanklines in block.cpp 2022-05-24 01:07:00 +02:00
Leonetienne 4848f887d4 Add comment 2022-05-24 01:05:45 +02:00
Leonetienne 30a57caadc [Progress:] Completely re-done Block class to not use bitsets, and provide custom operators. 2022-05-24 01:02:06 +02:00