Commit graph

55 commits

Author SHA1 Message Date
579450af2b Initialize AES state properly 2023-11-14 08:58:24 +01:00
2be8b672cb Simplify key expansion 2023-11-14 08:58:09 +01:00
ea7b6b89de Implement addRoundKey 2023-11-14 08:53:30 +01:00
aff464383e Fix non-functioning test 2023-11-14 08:53:21 +01:00
79d2776d41 Implement expandKey 2023-11-14 08:32:32 +01:00
6587c04608 Implement mixColumns function 2023-11-12 20:18:03 +01:00
ffe2b8ef9a Store polynomial in a constant variable 2023-11-12 20:17:51 +01:00
b3c10424a4 Add an xtime implementation 2023-11-08 22:27:12 +01:00
87f3102a45 Implement shiftRows 2023-11-07 19:25:49 +01:00
755623b0dc Implement subBytes 2023-11-07 19:25:41 +01:00
1e52c33976 Display debug values in hex 2023-11-07 19:25:18 +01:00
ba7d02d758 Implement the forward s-box 2023-11-07 14:41:53 +01:00
c0a2733cb3 Add configuration for debugging the AES project 2023-11-07 14:41:40 +01:00
faffa17efe Add an unfinished AES implementation 2023-11-07 13:54:51 +01:00
d87c915d6e Create a workspace for all tutorials 2023-11-07 13:54:16 +01:00
452e2d4716 Add tests for the SecretApplet 2023-11-07 08:40:28 +01:00
60df2dc4b9 Add an applet for encrypting and decrypting data 2023-11-07 08:40:14 +01:00
2a785ebb16 Allow flashing applets without parameters 2023-11-06 19:17:07 +01:00
88c978e898 Move length variable to proper scope 2023-11-06 17:02:02 +01:00
017fd64d2f Rearrange tasks 2023-11-03 15:51:08 +01:00
6ef2140509 Refactor script files for multi-applet projects 2023-11-03 15:50:46 +01:00
300aec6d85 Test applet locking behavior 2023-11-03 02:01:31 +01:00
6febd85ddc Handle SELECT verification properly 2023-11-03 02:01:21 +01:00
5b86053977 Test public command before unlocking 2023-11-03 01:43:37 +01:00
dcddfd4dbf Fix malformed commands 2023-11-03 01:43:18 +01:00
88dc8bb094 Refactor format of the MyApplet.java file 2023-11-03 01:33:27 +01:00
6070b53cdf Return an error if incorrect PIN is entered 2023-11-03 01:30:04 +01:00
0633e5c767 Add missing break statement 2023-10-24 23:22:42 +02:00
7a616f49bc Test unlocking card with wrong PIN 2023-10-24 23:22:27 +02:00
b587da3a84 Fix incorrect instruction 2023-10-24 23:13:13 +02:00
551ac64fa7 Allow sensitive commands only with PIN 2023-10-24 23:09:30 +02:00
de7ada08c9 Add a task for deleting the applet from the card 2023-10-24 22:43:57 +02:00
db336bb058 Send PIN only 2023-10-24 22:43:35 +02:00
abfeb97ebb Add script for installing applet with PIN 2023-10-24 18:47:58 +02:00
80e1d752ad Lock applet behind the pin 2023-10-24 18:44:06 +02:00
0b0e3d24ea Fix malformated java code 2023-10-24 18:43:52 +02:00
4aaf1525ae Add vscode tasks for running most important scripts 2023-10-24 18:40:58 +02:00
7cb0c022d2 Create a PIN upon initialization 2023-10-24 18:07:20 +02:00
5d679cccc1 Add scripts for managing real smartcards 2023-10-17 19:37:04 +02:00
9d5d03346a Test all functionalities 2023-10-13 02:29:40 +02:00
f293664f80 Fix saving of storage variable 2023-10-13 02:29:28 +02:00
9c8555d695 Report successful execution 2023-10-13 02:02:12 +02:00
a59ea2ce2b Report incorrect lengths for 0x04 instructions 2023-10-13 01:39:25 +02:00
89d1ff4acf Report incorrect body length for 0x02 instruction 2023-10-13 01:35:20 +02:00
e95ded2edf Only allow custom length for 0x04 instruction 2023-10-13 01:35:01 +02:00
995ba68bdf Throw an error for incorrect CLAs 2023-10-13 01:28:12 +02:00
22b11b1ee8 Throw an error for unsupported instructions 2023-10-13 01:25:46 +02:00
39948e42f2 Add an instruction for querying stored data 2023-10-13 01:20:36 +02:00
a673b7ecd0 Add instruction for storing data 2023-10-12 20:13:26 +02:00
8f7e657a9c Add an instruction for querying the author name 2023-10-12 19:23:38 +02:00