A C implementation of elliptic-curve-based Direct Anonymous Attestation (DAA) signatures. Created to support the Xaptum Edge Network Fabric, an IoT Network Solution.
To work toward avoiding AMCL knowledge in the user, the tpm_context_init function should take its public key input in the well-known x9.62 encoding, and not as an AMCL ECP struct.
This arose during usage of the ecdaa-python wrapper, where we need to create a tpm_context struct but don't have access to AMCL functions for creating the necessary ECP public key point.
To fully avoid AMCL knowledge in the API, we also need to add "add" and "remove" (and serialization) functionality to the revocations struct, but that's TODO.
Coverage increased (+0.03%) to 95.361% when pulling e9a09ef13f329496d99d3d869d6bc54a9f2d28b9 on zanebeckwith:public-key-as-bytes-in-init into 5a00533a7ab6357a00e4219152b84afee87b3782 on xaptum:master.
To work toward avoiding AMCL knowledge in the user, the
tpm_context_init
function should take its public key input in the well-known x9.62 encoding, and not as an AMCLECP
struct.This arose during usage of the
ecdaa-python
wrapper, where we need to create atpm_context
struct but don't have access to AMCL functions for creating the necessaryECP
public key point.To fully avoid
AMCL
knowledge in the API, we also need to add "add" and "remove" (and serialization) functionality to therevocations
struct, but that's TODO.