We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c3f24a commit 3bec0a6Copy full SHA for 3bec0a6
main/attestation/attestation.c
@@ -440,10 +440,12 @@ bool attestation_can_be_initialised(void)
440
}
441
#endif
442
443
+#ifndef ALLOW_REINITIALISE
444
// Check efuse is both readable and writable
445
if (esp_efuse_get_key_dis_read(JADE_ATTEST_EFUSE) || esp_efuse_get_key_dis_write(JADE_ATTEST_EFUSE)) {
446
return false;
447
448
+#endif
449
450
// Check efuses can still be made read-only
451
if (esp_efuse_read_field_bit(ESP_EFUSE_WR_DIS_RD_DIS)) {
0 commit comments