如图所示,可通过查看SMR状态值,查看那个SMR验签失败!另外,若想查看CR制裁结果无效所有Key,可在调用加密服务后,读取服务返回值查看KEY不可用,如图该值为0x5aa51b2(该值定义):
#define HSE_SRV_RSP_KEY_NOT_AVAILABLE ((hseSrvResponse_t)0xA5AA51B2UL) /**< @brief This error code is returned if a key is locked due to failed boot measurement or an active debugger. */