README.md
1| Supported Targets | ESP32-C2 | ESP32-C6 | ESP32-H2 |
2| ----------------- | -------- | -------- | -------- |
3
4## ECC peripheral test
5
6This application contains basic test cases for the ECC peripheral without using any OS functionality or higher abstraction layer.
7
8This contains tests for the following features of ECC peripheral:
9
10- ECC Point multiplication for P192 and P256 curve
11- ECC Point verification for P192 and P256 curve
12- ECC Point verify and multiply for P192 and P256 curve
13- ECC Inverse multiplication for P192 and P256
14
15If the hardware supports extended work modes then it also tests:
16- ECC Jacobian multiplication for P192 and P256 curve
17- ECC Jacobian verification for P192 and P256 curve
18- ECC Point verification and Jacobian multiplication for P192 and P256 curve
19- ECC Point addition for P192 and P256 curve
20- Mod addition
21- Mod subtraction
22- Mod multiplication
23
24# Building
25
26```bash
27idf.py set-target <TARGET>
28idf.py build
29```
30
31# Running the app manually
32
33```bash
34idf.py flash monitor
35```
36
37Enter the test that you want to run locally
38
39# Running tests
40
41```bash
42pytest --target <TARGET>
43```
44