Commit graph

13 commits

Author SHA1 Message Date
25a5ca3e2d [Assignment-7] Flake + App base
- Add Assignment-7 to flake.nix
- Implement basic framework of app
- Implement proxy subcommand (mostly)
- Implement basics of intermediary subcommand
2024-07-08 11:19:48 +02:00
Sascha Tommasone
0d6b13fafa [Assignment-7] prototype verify_firmware 2024-07-08 11:19:48 +02:00
Sascha Tommasone
7a592dc225 [Assignment-7] sign_firmware: removed dynamic memory allocations; added sealing of key after creation; uint8_t *sealed is now two way pointer; improved error handling 2024-07-08 11:19:48 +02:00
Sascha Tommasone
8da66bea12 [Assignment-7] public_key: renamed to get_public_key; improved error handling 2024-07-08 11:19:48 +02:00
Sascha Tommasone
3ea3076945 [Assignment-7] unseal_key_pair: removed dynamic memory allocations; removed unused parameter; improved error handling 2024-07-08 11:19:48 +02:00
Sascha Tommasone
97dfb2b82e [Assignment-7] seal_key_pair: removed dynamic memory allocations; fixed pointer usage 2024-07-08 11:19:48 +02:00
Sascha Tommasone
83ad706ad7 [Assignment-7] size ecalls 2024-07-08 11:19:48 +02:00
Sascha Tommasone
6aaaa3de9a [Assignment-7] improved error handling; add (un)sealing prototypes 2024-07-08 11:19:48 +02:00
Sascha Tommasone
cb380685a8 [Assignment-7] security fix in sign_firmware 2024-07-08 11:19:48 +02:00
Sascha Tommasone
5e0d13b84e [Assignment-7] add seal prototype 2024-07-08 11:19:48 +02:00
Sascha Tommasone
7ef4e42ef9 [Assignment-7] add prototype 'sgx_status_t public_key' 2024-07-08 11:19:48 +02:00
Sascha Tommasone
07254a8036 [Assignment-7] sign_firmware returns signature 2024-07-08 11:19:48 +02:00
Sascha Tommasone
76d8d4a2f4 [Assignment-7] add first enclave part 2024-07-08 11:19:48 +02:00