Commit graph

99 commits

Author SHA1 Message Date
Manuel Thalmann 528944434d Add tests to all implementations 2023-12-19 18:11:26 +01:00
Manuel Thalmann 626c68b9e2 Perform measurements for aes-intrinsic 2023-12-19 18:00:13 +01:00
Manuel Thalmann 7022f8d63a Move intrinsic project to the performance directory 2023-12-19 17:56:06 +01:00
Manuel Thalmann a0d79770e9 Implement intrinsic AES 2023-12-19 17:55:24 +01:00
Manuel Thalmann 3a916f6a0b Allow custom flags for intrinsic AES 2023-12-19 17:03:14 +01:00
Manuel Thalmann 9ec01f3f86 Fix malformed Makefile 2023-12-19 16:47:51 +01:00
Manuel Thalmann 09cb842598 Add corresponding compiler flag 2023-12-19 13:50:51 +01:00
Manuel Thalmann 2b02487ca0 Add an intrinsic AES version 2023-12-19 13:50:31 +01:00
Manuel Thalmann cd4ed3b423 Save results of measurements 2023-12-19 12:00:13 +01:00
Manuel Thalmann d2aa7ae5bc Create script for measuring performance 2023-12-19 11:55:05 +01:00
Manuel Thalmann d989f4f0e3 Prevent printing of unnecessary info 2023-12-19 11:48:58 +01:00
Manuel Thalmann 183ec2907e Move performance 32-bit AES versions to separate directory 2023-12-19 11:24:25 +01:00
Manuel Thalmann 7946648558 Build optimized AES programs by default 2023-12-19 11:20:28 +01:00
Manuel Thalmann eada851807 Implement AES using TBoxes 2023-12-19 04:13:07 +01:00
Manuel Thalmann dc87ee563e Print last result after process 2023-12-19 02:18:34 +01:00
Manuel Thalmann b67ad5a599 Add a copy of the AES algorithm using TBoxes 2023-12-12 19:26:36 +01:00
Manuel Thalmann e27a7f39f0 Enable compilation optimization 2023-12-12 19:24:25 +01:00
Manuel Thalmann ff140ca40e Prevent optimizations 2023-12-12 19:23:10 +01:00
Manuel Thalmann ba48c564ce Print time in miliseconds 2023-12-12 19:20:54 +01:00
Manuel Thalmann bbfbbc4908 Measure time during AES run 2023-12-12 19:17:45 +01:00
Manuel Thalmann d85966bb6d Fix broken TRNG Attack data 2023-12-12 19:17:18 +01:00
Manuel Thalmann d91e7fc3e6 Remove unnecessary includes 2023-12-12 19:13:46 +01:00
Manuel Thalmann 8bfeb9729f Read number of runs from arguments 2023-12-12 19:05:19 +01:00
Manuel Thalmann 01d4232dc5 Fix incorrect assumption 2023-12-12 19:04:08 +01:00
Manuel Thalmann 06783ae22b Notify about invalid number of arguments 2023-12-12 18:58:20 +01:00
Manuel Thalmann d84200498b Further reduce code of 32-bit solution 2023-12-12 18:56:24 +01:00
Manuel Thalmann cf6d0b99cb Execute AES in a cycle 2023-12-12 18:47:27 +01:00
Manuel Thalmann c5e559486e Remove further tests 2023-12-12 18:46:33 +01:00
Manuel Thalmann 72d5a2ba13 Remove tests 2023-12-12 18:46:16 +01:00
Manuel Thalmann 87eb5cbff0 Replace wbyte with a macro 2023-12-12 18:45:01 +01:00
Manuel Thalmann 7ca06f642a Add debug config for 32-bit AES 2023-12-12 18:37:00 +01:00
Manuel Thalmann d8dd138d41 Replace word with a macro 2023-12-12 18:36:42 +01:00
Manuel Thalmann cfe7cbd136 Remove unnecessary console output 2023-12-12 18:26:04 +01:00
Manuel Thalmann 994b6e654f Create a copy of the AES project 2023-12-12 18:18:55 +01:00
Manuel Thalmann 613387c957 Include test data 2023-12-05 19:37:03 +01:00
Manuel Thalmann 46eb7d2776 Try solving TRNG Attack 2023-12-05 19:36:31 +01:00
Manuel Thalmann da3db1a167 Add TRNG_attack workspace 2023-12-05 18:52:48 +01:00
Manuel Thalmann cd26f181f8 Set configuration for school system 2023-12-05 18:52:37 +01:00
Manuel Thalmann 285809d509 Ignore unnecessary files 2023-12-05 18:52:24 +01:00
Manuel Thalmann 1901ad680d Add TRNG attack files 2023-12-05 18:24:41 +01:00
Manuel Thalmann c71df79b32 Delete storage after each processed command 2023-11-23 21:03:55 +01:00
Manuel Thalmann 9a025cf2dc Prevent unnecessary object initializations 2023-11-23 20:49:17 +01:00
Manuel Thalmann 4720e95cf2 Implement AES algorithm 2023-11-14 11:06:11 +01:00
Manuel Thalmann afe36cebe6 Fix broken expandKey function 2023-11-14 11:04:48 +01:00
Manuel Thalmann 579450af2b Initialize AES state properly 2023-11-14 08:58:24 +01:00
Manuel Thalmann 2be8b672cb Simplify key expansion 2023-11-14 08:58:09 +01:00
Manuel Thalmann ea7b6b89de Implement addRoundKey 2023-11-14 08:53:30 +01:00
Manuel Thalmann aff464383e Fix non-functioning test 2023-11-14 08:53:21 +01:00
Manuel Thalmann 79d2776d41 Implement expandKey 2023-11-14 08:32:32 +01:00
Manuel Thalmann 6587c04608 Implement mixColumns function 2023-11-12 20:18:03 +01:00