2023-11-07 12:54:16 +00:00
|
|
|
{
|
|
|
|
"folders": [
|
|
|
|
{
|
|
|
|
"name": "Solution Items",
|
|
|
|
"path": "."
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./hwb1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "AES",
|
|
|
|
"path": "./aes"
|
2023-12-05 17:52:48 +00:00
|
|
|
},
|
2023-12-19 10:24:25 +00:00
|
|
|
{
|
|
|
|
"name": "AES Performance",
|
|
|
|
"path": "./aes-performance"
|
|
|
|
},
|
2023-12-12 17:18:55 +00:00
|
|
|
{
|
|
|
|
"name": "AES 32-bit",
|
2023-12-19 10:24:25 +00:00
|
|
|
"path": "./aes-performance/aes-32bit"
|
2023-12-12 17:18:55 +00:00
|
|
|
},
|
2023-12-12 18:26:36 +00:00
|
|
|
{
|
|
|
|
"name": "AES TBoxes",
|
2023-12-19 10:24:25 +00:00
|
|
|
"path": "./aes-performance/aes-tboxes"
|
2023-12-12 18:26:36 +00:00
|
|
|
},
|
2023-12-19 12:50:31 +00:00
|
|
|
{
|
|
|
|
"name": "AES Intrinsic",
|
2023-12-19 16:56:06 +00:00
|
|
|
"path": "./aes-performance/aes-intrinsic"
|
2023-12-19 12:50:31 +00:00
|
|
|
},
|
2023-12-19 18:19:01 +00:00
|
|
|
{
|
|
|
|
"name": "DPA Attack",
|
|
|
|
"path": "./dpa-attack"
|
|
|
|
},
|
2023-12-05 17:52:48 +00:00
|
|
|
{
|
|
|
|
"name": "TRNG Attack",
|
|
|
|
"path": "./TRNG_attack"
|
2023-11-07 12:54:16 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"tasks": {
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"label": "List Applets",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "${workspaceFolder:Solution Items}/scripts/list.cmd",
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Flash MyApplet",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "${workspaceFolder:Solution Items}/scripts/flash.cmd",
|
|
|
|
"options": {
|
|
|
|
"env": {
|
|
|
|
"PACKAGE": "hwb1",
|
|
|
|
"APPLET": "MyApplet",
|
|
|
|
"PARAMS": "31323334"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Flash SecretApplet",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "${workspaceFolder:Solution Items}/scripts/flash.cmd",
|
|
|
|
"options": {
|
|
|
|
"env": {
|
|
|
|
"PACKAGE": "hwb1",
|
|
|
|
"APPLET": "SecretApplet"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Test MyApplet",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "${workspaceFolder:Solution Items}/scripts/test.cmd",
|
|
|
|
"options": {
|
|
|
|
"env": {
|
|
|
|
"PACKAGE": "hwb1",
|
|
|
|
"APPLET": "MyApplet"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Test SecretApplet",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "${workspaceFolder:Solution Items}/scripts/test.cmd",
|
|
|
|
"options": {
|
|
|
|
"env": {
|
|
|
|
"PACKAGE": "hwb1",
|
|
|
|
"APPLET": "SecretApplet"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Delete Applet",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "${workspaceFolder:Solution Items}/scripts/delete.cmd",
|
|
|
|
"problemMatcher": []
|
2023-11-07 13:41:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build AES Project",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "make",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder:AES}"
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
2023-12-12 17:37:00 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build 32-bit AES Project",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "make",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder:AES 32-bit}"
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
2023-12-12 18:26:36 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build AES TBoxes Project",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "make",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder:AES TBoxes}"
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
2023-12-19 12:50:31 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build AES Intrinsic Project",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "make",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder:AES Intrinsic}"
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
2023-11-07 12:54:16 +00:00
|
|
|
}
|
|
|
|
]
|
2023-11-07 13:41:40 +00:00
|
|
|
},
|
|
|
|
"launch": {
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch AES Project",
|
|
|
|
"program": "${workspaceFolder:AES}/bin/aes",
|
|
|
|
"args": [],
|
|
|
|
"cwd": "${workspaceFolder:AES}",
|
|
|
|
"preLaunchTask": "Build AES Project"
|
2023-12-12 17:37:00 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch 32-bit AES Project",
|
|
|
|
"program": "${workspaceFolder:AES 32-bit}/bin/aes",
|
|
|
|
"args": [],
|
|
|
|
"cwd": "${workspaceFolder:AES 32-bit}",
|
|
|
|
"preLaunchTask": "Build 32-bit AES Project"
|
2023-12-12 18:26:36 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch AES TBoxes Project",
|
|
|
|
"program": "${workspaceFolder:AES TBoxes}/bin/aes",
|
|
|
|
"args": [],
|
|
|
|
"cwd": "${workspaceFolder:AES TBoxes}",
|
|
|
|
"preLaunchTask": "Build AES TBoxes Project"
|
2023-12-19 12:50:31 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch AES Intrinsic Project",
|
|
|
|
"program": "${workspaceFolder:AES Intrinsic}/bin/aes",
|
|
|
|
"args": [],
|
|
|
|
"cwd": "${workspaceFolder:AES Intrinsic}",
|
|
|
|
"preLaunchTask": "Build AES Intrinsic Project"
|
2023-12-19 18:13:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "python",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Run TRNG Attack",
|
|
|
|
"program": "${workspaceFolder:TRNG Attack}/attack_student.py",
|
|
|
|
"args": [],
|
|
|
|
"cwd": "${workspaceFolder:TRNG Attack}"
|
2023-11-07 13:41:40 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"compounds": []
|
2023-11-07 18:25:18 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"cortex-debug.variableUseNaturalFormat": false
|
2023-11-07 12:54:16 +00:00
|
|
|
}
|
|
|
|
}
|