diff --git a/tools/src/swap_writer.rs b/tools/src/swap_writer.rs index 91b448a6d..caa4cf45a 100644 --- a/tools/src/swap_writer.rs +++ b/tools/src/swap_writer.rs @@ -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(&mut self, mut f: T) -> Result where T: Write + Seek,