Implement NX Key Derivation.

This commit is contained in:
Michael Scire 2018-03-29 13:14:58 -06:00
parent 57853602df
commit 6ed9123c24
4 changed files with 180 additions and 1 deletions

View file

@ -17,7 +17,8 @@ __attribute__ ((noreturn)) void panic(uint32_t code) {
/* For now, just use NX BOOTLOADER's panic. */
fuse_disable_programming();
APBDEV_PMC_CRYPTO_OP_0 = 1; /* Disable all SE operations. */
watchdog_reboot();
/* TODO: watchdog_reboot(); */
while (1) { }
}
__attribute__ ((noreturn)) void generic_panic(void) {