diff --git a/hw/opentitan/ot_hmac.c b/hw/opentitan/ot_hmac.c index 52ef9d255c167..f5cdd8a66b885 100644 --- a/hw/opentitan/ot_hmac.c +++ b/hw/opentitan/ot_hmac.c @@ -762,12 +762,15 @@ static void ot_hmac_realize(DeviceState *dev, Error **errp) static void ot_hmac_reset(DeviceState *dev) { OtHMACState *s = OT_HMAC(dev); + OtHMACRegisters *r = s->regs; ibex_irq_set(&s->clkmgr, false); memset(s->ctx, 0, sizeof(*(s->ctx))); memset(s->regs, 0, sizeof(*(s->regs))); + r->cfg = 0x4100; + ot_hmac_update_irqs(s); ot_hmac_update_alert(s);