Commit Graph

53 Commits

Author SHA1 Message Date
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
Leonetienne
1f913b3a54 Typo in comment 2022-05-25 16:51:38 +02:00
Leonetienne
f7d8093668 Templatified block class 2022-05-25 16:38:16 +02:00
Leonetienne
21cbd80488 Merge origin feature/relaunch into feature/relaunch 2022-05-25 14:58:40 +02:00
Leonetienne
3630243d8d Fix macos compile issue 2022-05-25 14:57:40 +02:00
Leonetienne
edbf36eb6d Cipher now using new block class 2022-05-25 13:05:25 +02:00
Leonetienne
b5369a3c32 Added bitshift methods to block class 2022-05-25 12:54:26 +02:00
Leonetienne
9a9cd05bed Add SetBit, and FlipBit methods to block 2022-05-24 23:51:17 +02:00
Leonetienne
e552e1a6f8 Add GetBit() method to Block 2022-05-24 23:18:39 +02:00
Leonetienne
db0add6e6e Implemented remaining operands for block class 2022-05-24 22:09:06 +02:00
Leonetienne
83854e42cb Fix blanklines in block.cpp 2022-05-24 01:07:00 +02:00
Leonetienne
fa47a48dae Add comment 2022-05-24 01:05:45 +02:00
Leonetienne
939df4731b [Progress:] Completely re-done Block class to not use bitsets, and provide custom operators. 2022-05-24 01:02:06 +02:00
Leonetienne
ed45b69342 Experimentally implement matrix-mult 2022-05-23 22:42:14 +02:00
Leonetienne
8c7506297f Added another visualization to readme 2022-05-22 21:22:02 +02:00
Leonetienne
1e479986fc Readme and visualizations 2022-05-22 20:40:56 +02:00
Leonetienne
5677d94e6a Improved security 2022-05-22 20:13:41 +02:00
Leonetienne
19660fc696 Add method to load and save keyfiles 2022-05-22 17:54:26 +02:00
Leonetienne
88cb36fd7b Fix include guard 2022-05-22 17:54:04 +02:00
Leonetienne
cd119f21bb Indentation 2022-05-22 17:32:54 +02:00
Leonetienne
91819c9723 Bump gcryptlib version 2022-05-22 17:30:15 +02:00
Leonetienne
cb6c50b684 Now using actual include guards 2022-05-22 17:29:38 +02:00
Leonetienne
a3c04b957f Implemented a Key::Random() method 2022-05-22 17:24:56 +02:00
Leonetienne
04c67436c4 Implemented GPrng pnrg 2022-05-22 16:54:40 +02:00
Leonetienne
bedfc91e04 GHash now uses a full-size key for the cipher 2022-05-22 14:30:24 +02:00
Leonetienne
fe6ec11672 Adjusted tests 2022-05-22 14:29:21 +02:00
Leonetienne
967eba2f03 Cmake make colored output 2022-05-22 14:21:21 +02:00
Leonetienne
b0e0c0cd99 Moved utility functions to cpp file 2022-05-22 14:13:10 +02:00
Leonetienne
fedb30bb43 Added padding direction option for Util::StringToBitblock 2022-05-22 13:54:03 +02:00
Leonetienne
9fdc642bd6 Implemented a key class 2022-05-22 13:45:40 +02:00
Leonetienne
bb76cbb2d7 Renamed class GCryptWrapper to GWrapper 2022-05-22 13:07:40 +02:00
Leonetienne
cf784ca8ac Renamed method DigestFlexblock to CipherFlexblock, and made it public 2022-05-22 13:04:20 +02:00
Leonetienne
734324ec10 Renamed class Hasher to GHash 2022-05-22 12:55:39 +02:00
Leonetienne
4e2f99c28e Renamed class Cipher to GCipher 2022-05-22 12:51:58 +02:00
Leonetienne
1cc01a840d Cmake specify color output as always 2022-05-22 12:51:29 +02:00
Leonetienne
29f0efbba5 Fix warning 2022-05-22 12:31:48 +02:00
Leonetienne
201917d385 Warnings are now treated as errors 2022-05-22 12:31:33 +02:00
Leonetienne
6dce12b6ee Added class for hashing, that is now used for password to key transformation 2022-05-22 00:23:10 +02:00
Leonetienne
f3b6dc155c Implemented digestion (feeding one block at a time) 2022-05-21 20:41:09 +02:00
Leonetienne
9faea67af3 Version bump gcryptlib 2022-05-17 01:18:00 +02:00
Leonetienne
e8305399ea Fix dangling var in cmakelist of gcryptlib 2022-05-16 23:47:36 +02:00
Leonetienne
f75a41d8dc Translated encryption/decryption consistency tests to catch2 2022-05-16 23:26:29 +02:00
Leonetienne
14e1fbe32c Translated password2key transformation collision resistance tests to catch2 2022-05-16 23:03:55 +02:00
Leonetienne
b998a51e11 Renamed ghettocryptwrapper class to gcryptwrapper 2022-05-16 22:50:52 +02:00
Leonetienne
13a7abd82d Translated gcrypt wrapper tests to catch2 2022-05-16 22:47:41 +02:00