feat: add rand, update decrypt
This commit is contained in:
@@ -33,6 +33,7 @@ pub struct CmdDecrypt {
|
||||
}
|
||||
|
||||
pub fn decrypt(cmd_decrypt: CmdDecrypt) -> XResult<()> {
|
||||
debugging!("Cmd decrypt: {:?}", cmd_decrypt);
|
||||
for path in &cmd_decrypt.paths {
|
||||
match decrypt_single(path, &cmd_decrypt.pin, &cmd_decrypt.slot) {
|
||||
Ok(_) => success!("Decrypt {} succeed", path.to_str().unwrap_or("N/A")),
|
||||
|
||||
Reference in New Issue
Block a user