mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
fix typo
This commit is contained in:
parent
99d10d09a6
commit
5e805196e6
3 changed files with 4 additions and 4 deletions
|
|
@ -49,7 +49,7 @@ pub fn try_boot(or_die: bool) {
|
||||||
if tag == *bao1x_api::pubkeys::KEYSLOT_INITIAL_TAGS[bao1x_api::pubkeys::DEVELOPER_KEY_SLOT]
|
if tag == *bao1x_api::pubkeys::KEYSLOT_INITIAL_TAGS[bao1x_api::pubkeys::DEVELOPER_KEY_SLOT]
|
||||||
|| k == bao1x_api::pubkeys::DEVELOPER_KEY_SLOT
|
|| k == bao1x_api::pubkeys::DEVELOPER_KEY_SLOT
|
||||||
{
|
{
|
||||||
crate::println!("Developer key detected, ensuring secret are erased");
|
crate::println!("Developer key detected, ensuring secrets are erased");
|
||||||
bao1x_hal::sigcheck::erase_secrets();
|
bao1x_hal::sigcheck::erase_secrets();
|
||||||
}
|
}
|
||||||
// this has to be called *after* erase_secrets, because we can't erase the secrets
|
// this has to be called *after* erase_secrets, because we can't erase the secrets
|
||||||
|
|
|
||||||
|
|
@ -281,7 +281,7 @@ pub unsafe extern "C" fn rust_entry(signed_buffer: *const usize, signature: u32)
|
||||||
if tag == *bao1x_api::pubkeys::KEYSLOT_INITIAL_TAGS[bao1x_api::pubkeys::DEVELOPER_KEY_SLOT]
|
if tag == *bao1x_api::pubkeys::KEYSLOT_INITIAL_TAGS[bao1x_api::pubkeys::DEVELOPER_KEY_SLOT]
|
||||||
|| k == bao1x_api::pubkeys::DEVELOPER_KEY_SLOT
|
|| k == bao1x_api::pubkeys::DEVELOPER_KEY_SLOT
|
||||||
{
|
{
|
||||||
crate::println!("Developer key detected, ensuring secret are erased");
|
crate::println!("Developer key detected, ensuring secrets are erased");
|
||||||
bao1x_hal::sigcheck::erase_secrets();
|
bao1x_hal::sigcheck::erase_secrets();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -315,7 +315,7 @@ pub unsafe extern "C" fn rust_entry(signed_buffer: *const usize, signature: u32)
|
||||||
== *bao1x_api::pubkeys::KEYSLOT_INITIAL_TAGS[bao1x_api::pubkeys::DEVELOPER_KEY_SLOT]
|
== *bao1x_api::pubkeys::KEYSLOT_INITIAL_TAGS[bao1x_api::pubkeys::DEVELOPER_KEY_SLOT]
|
||||||
|| k == bao1x_api::pubkeys::DEVELOPER_KEY_SLOT
|
|| k == bao1x_api::pubkeys::DEVELOPER_KEY_SLOT
|
||||||
{
|
{
|
||||||
crate::println!("Developer key detected, ensuring secret are erased");
|
crate::println!("Developer key detected, ensuring secrets are erased");
|
||||||
bao1x_hal::sigcheck::erase_secrets();
|
bao1x_hal::sigcheck::erase_secrets();
|
||||||
}
|
}
|
||||||
true
|
true
|
||||||
|
|
|
||||||
|
|
@ -256,7 +256,7 @@ impl SwapHal {
|
||||||
[bao1x_api::pubkeys::DEVELOPER_KEY_SLOT]
|
[bao1x_api::pubkeys::DEVELOPER_KEY_SLOT]
|
||||||
|| k == bao1x_api::pubkeys::DEVELOPER_KEY_SLOT
|
|| k == bao1x_api::pubkeys::DEVELOPER_KEY_SLOT
|
||||||
{
|
{
|
||||||
crate::println!("Developer key detected, ensuring secret are erased");
|
crate::println!("Developer key detected, ensuring secrets are erased");
|
||||||
bao1x_hal::sigcheck::erase_secrets();
|
bao1x_hal::sigcheck::erase_secrets();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue