Commit Graph
42 Commits
Author SHA1 Message Date
Leonetienne 1ea89541f9 More streamlined naming scheme for digestion method of ghash 2022-05-26 19:57:14 +02:00
Leonetienne 3a7802d314 Fix apple linker problem 2022-05-26 19:25:40 +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 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 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
Leonetienne 41dc2ef65e Experimentally implement matrix-mult 2022-05-23 22:42:14 +02:00
Leonetienne 4ca1b74e24 Improved security 2022-05-22 20:13:41 +02:00
Leonetienne 4ce86b8f54 Add method to load and save keyfiles 2022-05-22 17:54:26 +02:00
Leonetienne 57b1d7ac2a Indentation 2022-05-22 17:32:54 +02:00
Leonetienne 4d74153e92 Implemented a Key::Random() method 2022-05-22 17:24:56 +02:00
Leonetienne 5770a0d45a Implemented GPrng pnrg 2022-05-22 16:54:40 +02:00
Leonetienne 0c1bbf362e GHash now uses a full-size key for the cipher 2022-05-22 14:30:24 +02:00
Leonetienne bc780f3a4f Moved utility functions to cpp file 2022-05-22 14:13:10 +02:00
Leonetienne 1a2a74cdac Implemented a key class 2022-05-22 13:45:40 +02:00
Leonetienne c0b6bff8b7 Renamed class GCryptWrapper to GWrapper 2022-05-22 13:07:40 +02:00
Leonetienne 875e9a34f9 Renamed method DigestFlexblock to CipherFlexblock, and made it public 2022-05-22 13:04:20 +02:00
Leonetienne 923e37bde6 Renamed class Hasher to GHash 2022-05-22 12:55:39 +02:00
Leonetienne 2590bd9a48 Renamed class Cipher to GCipher 2022-05-22 12:51:58 +02:00
Leonetienne 9328e74461 Fix warning 2022-05-22 12:31:48 +02:00
Leonetienne 52ff44edce Added class for hashing, that is now used for password to key transformation 2022-05-22 00:23:10 +02:00
Leonetienne a7a30e13bf Implemented digestion (feeding one block at a time) 2022-05-21 20:41:09 +02:00
Leonetienne 0f004f54c6 Renamed legacy wrapper class to GCryptWrapper 2022-05-16 22:50:52 +02:00
Leonetienne a00ec743d7 GCryptLib: Fix include paths 2022-05-16 22:35:28 +02:00
Leonetienne 5ed81cda80 Doxygen adjustment, and better directory name for GCryptLib 2022-05-16 22:19:20 +02:00