reset: lock keystore
While the keystore could not be used after resetting, we assume a
locked keystore when starting out creating a new one.
#include "reset.h"
#include "hardfault.h"
+#include "keystore.h"
#include "memory.h"
#ifndef TESTING
#include "securechip/securechip.h"
void reset_reset(void)
{
+ keystore_lock();
#ifndef TESTING
if (!securechip_update_keys()) {
Abort("Could not reset secure chip.");
