1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
Commit Graph

36 Commits

Author SHA1 Message Date
Andrew Kozlik
ff653f038e feat(core): Optimize Optiga counter initialization.
[no changelog]
2024-07-01 18:05:20 +02:00
Andrew Kozlik
869b6fe6dc refactor(core): Use remaining PIN attempts in Optiga API.
[no changelog]
2024-07-01 18:05:20 +02:00
Andrew Kozlik
fc09379877 refactor(core): Clean up Optiga error handling.
[no changelog]
2024-07-01 18:05:20 +02:00
Andrew Kozlik
ca4bfa2ebd feat(core): Implement optiga.get_sec()
[no changelog]
2024-06-25 12:45:00 +02:00
Andrew Kozlik
4d4ee99716 fix(core): Increase Optiga MAX_RETRY_READ_MS to 6 sec. 2024-06-25 11:09:40 +02:00
Andrew Kozlik
f396d00c67 fix(core): Fix style and unix build.
[no changelog]
2024-06-24 16:04:03 +02:00
Andrew Kozlik
da068fb32e fixup! feat(core): Rework Optiga PIN slot configuration. 2024-06-21 18:55:01 +02:00
Andrew Kozlik
f393064ce7 feat(core): Improve PIN progress precision. 2024-06-21 18:55:01 +02:00
Andrew Kozlik
509e291118 feat(core): Rework Optiga PIN slot configuration. 2024-06-21 18:55:01 +02:00
Andrew Kozlik
7b636df35f feat(core): Rework Optiga PIN processing. 2024-06-21 18:55:01 +02:00
Andrew Kozlik
f8be07b732 feat(core): Increase Optiga I2C timeout.
[no changelog]
2024-05-05 10:03:32 +02:00
Andrew Kozlik
d453dac45c feat(core): Measure Optiga response timeout in ms not number of attempts.
[no changelog]
2024-05-05 10:03:32 +02:00
Andrew Kozlik
594d7425cd feat(core): Retry getting Optiga response even when it doesn't seem to have one.
[no changelog]
2024-05-05 10:03:32 +02:00
Andrew Kozlik
ed43a5bc5b feat(core): Don't lock Optiga in debug builds.
[no changelog]
2024-05-03 09:49:37 +02:00
matejcik
54c441a607 feat(core): enable Optiga logging in debug builds by default
[no changelog]
2024-05-03 09:49:37 +02:00
Andrew Kozlik
182a9b1ce8 refactor(core): Refactor Optiga macros.
[no changelog]
2024-05-03 09:49:37 +02:00
Andrew Kozlik
9a5e9b25c7 feat(core): Add Optiga command logging macro.
[no changelog]
2024-05-03 09:49:37 +02:00
Andrew Kozlik
fb80dd5a36 fix(core/prodtest): Fix Optiga metadata version information handling.
[no changelog]
2023-12-15 11:18:22 +01:00
Andrew Kozlik
d670a0bdfa feat(core): Fix malformed signatures from Optiga. 2023-12-01 00:09:17 +01:00
Andrew Kozlik
3ca8f26fd0 feat(core): Implement Optiga counter operations. 2023-10-04 11:22:46 +02:00
Andrew Kozlik
4c7979ae30 feat(core): Propagate Optiga errors. 2023-10-04 11:22:46 +02:00
matejcik
240f4f56cd fix(core/optiga): add correct key usage to OID_PIN_CMAC 2023-10-04 11:22:46 +02:00
Andrew Kozlik
b3d0fb68ff feat(core): Improve Optiga transport error handling. 2023-09-27 17:17:09 +02:00
Andrew Kozlik
7d92e70cc3 feat(core): Hide repetitions in Optiga logging. 2023-09-27 17:17:09 +02:00
Andrew Kozlik
dee559f4f9 feat(core): Integrate Optiga into PIN verification. 2023-09-27 17:17:09 +02:00
Andrew Kozlik
6ca1182d85 refactor(core): Add "META" to metadate-related Optiga constants.
[no changelog]
2023-09-27 17:17:09 +02:00
tychovrahe
510281590f fix(core): add delays to optiga i2c communications
[no changelog]
2023-09-27 12:14:32 +02:00
Andrew Kozlik
686aa78aa7 feat(core): Use Optiga as a source of randomness. 2023-09-15 11:16:57 +02:00
Andrew Kozlik
db6630a5a3 feat(core): Support Optiga in Trezor firmware. 2023-09-13 15:45:48 +02:00
matejcik
04ea95777b chore(core/prodtest): enable Optiga locking 2023-08-29 10:59:34 +02:00
Andrew Kozlik
5898b16cd2 feat(core): Implement OPTIGA VerifySign command. 2023-08-29 10:59:34 +02:00
tychovrahe
5470304515 feat(core): Implement OPTIGA provisioning in prodtest.
[no changelog]
2023-08-29 10:59:34 +02:00
Andrew Kozlik
812e77cefd feat(core): Implement OPTIGA secure channel. 2023-08-29 10:59:34 +02:00
Andrew Kozlik
11e1795a89 refactor(core): optiga_execute_command()
- Remove presentation layer parameter.
- Use error-flushing command codes.
2023-08-29 10:59:34 +02:00
Andrew Kozlik
773f79251f feat(core): Implement comparison of OPTIGA metadata. 2023-08-29 10:59:34 +02:00
Andrew Kozlik
74759310bb feat(core): Integrate OPTIGA Trust M
[no changelog]
2023-08-02 00:35:43 +02:00