mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add swap key slot
This commit is contained in:
parent
d37f74f51d
commit
c827a0ed12
1 changed files with 3 additions and 0 deletions
|
|
@ -61,6 +61,9 @@ pub const RMA_KEY: SlotIndex = SlotIndex::Key(257, PartitionAccess::Fw0, RwPerms
|
||||||
/// to developer mode.
|
/// to developer mode.
|
||||||
pub const CP_COOKIE: SlotIndex = SlotIndex::Key(258, PartitionAccess::Fw0, RwPerms::ReadWrite);
|
pub const CP_COOKIE: SlotIndex = SlotIndex::Key(258, PartitionAccess::Fw0, RwPerms::ReadWrite);
|
||||||
|
|
||||||
|
/// The swap encryption key. Used to protect swap images beyond the signing key, if we so desire.
|
||||||
|
pub const SWAP_KEY: SlotIndex = SlotIndex::Key(259, PartitionAccess::Fw0, RwPerms::ReadOnly);
|
||||||
|
|
||||||
/// `NUISANCE_KEYS` are hashed together with `ROOT_SEED` to derive the core secret.
|
/// `NUISANCE_KEYS` are hashed together with `ROOT_SEED` to derive the core secret.
|
||||||
/// Their primary purpose is to annoy microscopists trying to read the secret key by
|
/// Their primary purpose is to annoy microscopists trying to read the secret key by
|
||||||
/// directly imaging the RRAM array. They also exist to reduce power side channels
|
/// directly imaging the RRAM array. They also exist to reduce power side channels
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue