aliro_stepup.h
Aliro step-up (Access Document) phase: builds the mdoc DeviceRequest, unwraps and decrypts the…
Overview
Aliro step-up (Access Document) phase: builds the mdoc DeviceRequest, unwraps and decrypts the SessionData DeviceResponse, decodes the CBOR document per spec 7.2/8.4.2, and runs the six-step Access Document verification of spec 7.4. Reference-completeness codec + verifier; the verdict is logged and stored, never gates the unlock (the provisioned trust store remains the sole gate).
depends on aliro_crypto.h · used by aliro_reader.c aliro_stepup.c aliro_stepup_parse.c
API
Cstruct aliro_stepup_issuer
---- verifier (§7.4) ----
Cstruct aliro_stepup_job
---- ESP worker seam (implemented per-platform; see aliro_stepup_worker.c) ---- Copies the collected SessionData response + keys + verify inputs and runs aliro_stepup_run() off the BLE-host task, so parse/verify never touches the auth segment or the ranging arm window. Returns 0 if queued.
Undocumented (5)
aliro_stepup_digest, aliro_stepup_item, aliro_stepup_doc, aliro_stepup_verify_ctx, aliro_stepup_verdict