mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
chore: add a comment
This commit is contained in:
parent
b72a949930
commit
bac8e4ff4d
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ impl SwapHeader {
|
|||
impl SwapWriter {
|
||||
pub fn new() -> Self { SwapWriter { buffer: Cursor::new(Vec::new()) } }
|
||||
|
||||
/// Take the swap file and wrap it data structures that facilitate per-device encryption
|
||||
/// after deployment to a user device.
|
||||
pub fn encrypt_to<T>(&mut self, mut f: T) -> Result<usize>
|
||||
where
|
||||
T: Write + Seek,
|
||||
|
|
|
|||
Loading…
Reference in a new issue