5 Commits
Author SHA1 Message Date
Pol Henarejos 843a3dc593 Make byte buffers track their current length
Add a length field to byte_buffer_t and change output APIs to accept
mutable buffer pointers.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2026-07-27 11:25:45 +02:00
Pol Henarejos 40375578c5 Use byte-array spans across SDK APIs
Add byte_array_t, const_byte_array_t, and byte_buffer_t and migrate project-owned pointer/length interfaces across crypto, storage, TLV, USB, REST, OTP, and APDU code.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2026-07-27 03:09:30 +02:00
Pol Henarejos a24137a2b8 Add reusable object container store lifecycle
Centralize A/B recovery, protected record I/O, updates, deletion, and lifecycle tests.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2026-07-26 20:45:49 +02:00
Pol Henarejos e3ade9854d Support separate roots for public object integrity
Use an optional device-bound root for manifests and authenticated-public records

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2026-07-18 00:32:10 +02:00
Pol Henarejos b68cc7cfb6 Enforce HSM object policy when opening v1 private key material
Require verified PIN, SO/admin, or isolated firmware authorization without migrating legacy keys

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2026-07-17 23:16:18 +02:00