Commit graph

93 commits

Author SHA1 Message Date
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
Manuel Thalmann ffe2b8ef9a Store polynomial in a constant variable 2023-11-12 20:17:51 +01:00
Manuel Thalmann b3c10424a4 Add an xtime implementation 2023-11-08 22:27:12 +01:00
Manuel Thalmann 87f3102a45 Implement shiftRows 2023-11-07 19:25:49 +01:00
Manuel Thalmann 755623b0dc Implement subBytes 2023-11-07 19:25:41 +01:00
Manuel Thalmann 1e52c33976 Display debug values in hex 2023-11-07 19:25:18 +01:00
Manuel Thalmann ba7d02d758 Implement the forward s-box 2023-11-07 14:41:53 +01:00