16 bool start()
override;
19 const char*
getName()
const override {
return "attestation_key"; }
21 void onTick(uint32_t nowMs);
25 bool loadStoredHash(uint8_t* out,
size_t outLen);
26 bool saveStoredHash(
const uint8_t* data,
size_t len);
31 uint32_t lastAttemptMs_ = 0;
bool start() override
Starts service, ensures initialized state, and attempts to provision the attestation key synchronousl...
ServiceState getState() const override
void setSecureElement(hal::ISecureElement *se)
const char * getName() const override
void stop() override
Stops attestation-key background processing.
void onTick(uint32_t nowMs)
Periodically attempts to ensure attestation key exists and is valid.
bool init() override
Initializes service state.
static constexpr uint8_t ATTESTATION_ECC_SLOT