Commit graph

52 commits

Author SHA1 Message Date
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
Manuel Thalmann dcddfd4dbf Fix malformed commands 2023-11-03 01:43:18 +01:00
Manuel Thalmann 88dc8bb094 Refactor format of the MyApplet.java file 2023-11-03 01:33:27 +01:00
Manuel Thalmann 6070b53cdf Return an error if incorrect PIN is entered 2023-11-03 01:30:04 +01:00
Manuel Thalmann 0633e5c767 Add missing break statement 2023-10-24 23:22:42 +02:00
Manuel Thalmann 7a616f49bc Test unlocking card with wrong PIN 2023-10-24 23:22:27 +02:00
Manuel Thalmann b587da3a84 Fix incorrect instruction 2023-10-24 23:13:13 +02:00
Manuel Thalmann 551ac64fa7 Allow sensitive commands only with PIN 2023-10-24 23:09:30 +02:00
Manuel Thalmann de7ada08c9 Add a task for deleting the applet from the card 2023-10-24 22:43:57 +02:00
Manuel Thalmann db336bb058 Send PIN only 2023-10-24 22:43:35 +02:00
Manuel Thalmann abfeb97ebb Add script for installing applet with PIN 2023-10-24 18:47:58 +02:00
Manuel Thalmann 80e1d752ad Lock applet behind the pin 2023-10-24 18:44:06 +02:00
Manuel Thalmann 0b0e3d24ea Fix malformated java code 2023-10-24 18:43:52 +02:00
Manuel Thalmann 4aaf1525ae Add vscode tasks for running most important scripts 2023-10-24 18:40:58 +02:00
Manuel Thalmann 7cb0c022d2 Create a PIN upon initialization 2023-10-24 18:07:20 +02:00
Manuel Thalmann 5d679cccc1 Add scripts for managing real smartcards 2023-10-17 19:37:04 +02:00
Manuel Thalmann 9d5d03346a Test all functionalities 2023-10-13 02:29:40 +02:00
Manuel Thalmann f293664f80 Fix saving of storage variable 2023-10-13 02:29:28 +02:00
Manuel Thalmann 9c8555d695 Report successful execution 2023-10-13 02:02:12 +02:00
Manuel Thalmann a59ea2ce2b Report incorrect lengths for 0x04 instructions 2023-10-13 01:39:25 +02:00
Manuel Thalmann 89d1ff4acf Report incorrect body length for 0x02 instruction 2023-10-13 01:35:20 +02:00
Manuel Thalmann e95ded2edf Only allow custom length for 0x04 instruction 2023-10-13 01:35:01 +02:00
Manuel Thalmann 995ba68bdf Throw an error for incorrect CLAs 2023-10-13 01:28:12 +02:00
Manuel Thalmann 22b11b1ee8 Throw an error for unsupported instructions 2023-10-13 01:25:46 +02:00
Manuel Thalmann 39948e42f2 Add an instruction for querying stored data 2023-10-13 01:20:36 +02:00
Manuel Thalmann a673b7ecd0 Add instruction for storing data 2023-10-12 20:13:26 +02:00
Manuel Thalmann 8f7e657a9c Add an instruction for querying the author name 2023-10-12 19:23:38 +02:00
Manuel Thalmann 5b467ff47f Remove further auto-generated files 2023-10-12 17:58:42 +02:00
Manuel Thalmann 5c7fdda14b Add AuthorName to the StringPool 2023-10-12 17:38:14 +02:00
Manuel Thalmann 484a1e478b Ignore auto-generated files 2023-10-12 17:37:41 +02:00