Commit graph

81 commits

Author SHA1 Message Date
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
Manuel Thalmann c0a2733cb3 Add configuration for debugging the AES project 2023-11-07 14:41:40 +01:00
Manuel Thalmann faffa17efe Add an unfinished AES implementation 2023-11-07 13:54:51 +01:00
Manuel Thalmann d87c915d6e Create a workspace for all tutorials 2023-11-07 13:54:16 +01:00
Manuel Thalmann 452e2d4716 Add tests for the SecretApplet 2023-11-07 08:40:28 +01:00
Manuel Thalmann 60df2dc4b9 Add an applet for encrypting and decrypting data 2023-11-07 08:40:14 +01:00
Manuel Thalmann 2a785ebb16 Allow flashing applets without parameters 2023-11-06 19:17:07 +01:00
Manuel Thalmann 88c978e898 Move length variable to proper scope 2023-11-06 17:02:02 +01:00
Manuel Thalmann 017fd64d2f Rearrange tasks 2023-11-03 15:51:08 +01:00
Manuel Thalmann 6ef2140509 Refactor script files for multi-applet projects 2023-11-03 15:50:46 +01:00
Manuel Thalmann 300aec6d85 Test applet locking behavior 2023-11-03 02:01:31 +01:00
Manuel Thalmann 6febd85ddc Handle SELECT verification properly 2023-11-03 02:01:21 +01:00
Manuel Thalmann 5b86053977 Test public command before unlocking 2023-11-03 01:43:37 +01:00