Commit Graph

16 Commits

Author SHA1 Message Date
Pol Henarejos
7988083d6b
Reorganization of file structure.
At this moment I disabled openpgp/gnuk due to missing deep tests.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-03-07 23:37:10 +01:00
Pol Henarejos
a5902db07f
Adding -DUSB_VID=0xXXXX -DUSB_PID=0xYYYY feature to overwrite default VID/PID.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-03-07 01:27:28 +01:00
Pol Henarejos
ff06414247
Adding signature computation (unfinished)
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-28 09:43:09 +01:00
Pol Henarejos
f97555a8da
Adding ECC storing keygen.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-22 13:22:09 +01:00
Pol Henarejos
e620b891e1
Adding RSA response (unfinished).
Adding ECC generation (no response yet).

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-20 01:59:48 +01:00
Pol Henarejos
1630c7b52d
Adding unique_id variable.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-18 10:39:03 +01:00
Pol Henarejos
c2733e8977
Using files from mbedtls submodule
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-17 19:17:24 +01:00
Pol Henarejos
0017284103
Starting migration from gnuk to own solution.
gnuk/openpgp will be left as another pkcs15 app.
Lots of work has been done in the meanwhile.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-13 01:17:14 +01:00
Pol Henarejos
30a517908c
Rewrite flash from scratch. We are migrating to a file system approach.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-05 01:31:24 +01:00
Pol Henarejos
756d9a3d5b
Migrating from PolarSSL to MBEDTLS 3.1 (formerly PolarSSL).
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-01-24 18:14:42 +01:00
Pol Henarejos
f37a571ba3
Adding adc to cmake
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-01-10 18:08:07 +01:00
Pol Henarejos
3dd282ca0a
Adding neug (NOT WORKING)
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-01-03 22:35:52 +01:00
Pol Henarejos
fd93f4779e
Adding openpgp support.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-01-03 02:03:12 +01:00
Pol Henarejos
b217740e58 - Adding the rest of Gnuk USB/CCID methods.
- It runs the openpgp thread in the other core (core1) and leaves the main program/ccid/usb methods running in the core 0.
- At this moment it does not call openpgp_thread.
- Compiles but it needs further debug
2022-01-02 00:51:54 +01:00
Pol Henarejos
c8a2912616
Moving to TinyUSB. Low level API does not provide methods for larger packets. TinyUSB provides a complete interface for managing CCID.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2021-12-30 23:35:30 +01:00
Pol Henarejos
7785c8ff1c
First commit. Attempting to emulate a CCID device. Not easy with RP2040
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2021-12-30 00:31:01 +01:00