Cstruct aliro_reader_identity
modules/woz_aliro/include/aliro_prov.h:43
The reader's provisioned identity. reader_id rides AUTH0 and both ECDSA
transcripts (tag 0x4D); sign_priv signs the reader-usage transcript. is_dev
marks the built-in bench identity, never a real deployment.
Cstruct aliro_trust_store
modules/woz_aliro/include/aliro_prov.h:56
Trusted credential public keys. A presented credential authenticates only if
its key is in here (or the store is empty and dev policy allows it). A raw-key
allowlist is the interim seam; real issuer-chain validation is the Phase-4
refinement that plugs in at aliro_prov_trust_check.
##define ALIRO_READER_ID_LEN 32u
modules/woz_aliro/include/aliro_prov.h:31
##define ALIRO_READER_PRIV_LEN 32u
modules/woz_aliro/include/aliro_prov.h:32
##define ALIRO_CRED_PUB_LEN 65u
modules/woz_aliro/include/aliro_prov.h:33
##define ALIRO_TRUST_MAX 4u
modules/woz_aliro/include/aliro_prov.h:34
##define ALIRO_GRK_LEN 16u
modules/woz_aliro/include/aliro_prov.h:35
##define ALIRO_KPERSISTENT_LEN 32u
modules/woz_aliro/include/aliro_prov.h:36
##define ALIRO_PROV_BLOB_HDR 6u
modules/woz_aliro/include/aliro_prov.h:68
Fvoid aliro_prov_dev_default(struct aliro_reader_identity *id, struct aliro_trust_store *ts)
modules/woz_aliro/include/aliro_prov.h:77
Fint aliro_prov_serialize(const struct aliro_reader_identity *id, const struct aliro_trust_store *ts, uint8_t *out, size_t cap, size_t *out_len)
modules/woz_aliro/include/aliro_prov.h:81
Fint aliro_prov_deserialize(const uint8_t *buf, size_t len, struct aliro_reader_identity *id, struct aliro_trust_store *ts)
modules/woz_aliro/include/aliro_prov.h:86
Fint aliro_prov_trust_check(const struct aliro_trust_store *ts, const uint8_t cred_pub[ALIRO_CRED_PUB_LEN])
modules/woz_aliro/include/aliro_prov.h:93
Fint aliro_prov_trust_add(struct aliro_trust_store *ts, const uint8_t cred_pub[ALIRO_CRED_PUB_LEN])
modules/woz_aliro/include/aliro_prov.h:98
Fint aliro_prov_trust_find(const struct aliro_trust_store *ts, const uint8_t cred_pub[ALIRO_CRED_PUB_LEN])
modules/woz_aliro/include/aliro_prov.h:101
Fint aliro_prov_kpersistent_set(struct aliro_trust_store *ts, int idx, const uint8_t kp[ALIRO_KPERSISTENT_LEN])
modules/woz_aliro/include/aliro_prov.h:107
Fint aliro_prov_load(struct aliro_reader_identity *id, struct aliro_trust_store *ts)
modules/woz_aliro/include/aliro_prov.h:117
Fint aliro_prov_store(const struct aliro_reader_identity *id, const struct aliro_trust_store *ts)
modules/woz_aliro/include/aliro_prov.h:120