mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
quite down some ll debug
This commit is contained in:
parent
c1b68018e1
commit
55ebb556ba
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ impl SwapHal {
|
||||||
let vpage_masked = src_vaddr & !(PAGE_SIZE - 1);
|
let vpage_masked = src_vaddr & !(PAGE_SIZE - 1);
|
||||||
nonce[9..12].copy_from_slice(&(vpage_masked as u32).to_be_bytes()[..3]);
|
nonce[9..12].copy_from_slice(&(vpage_masked as u32).to_be_bytes()[..3]);
|
||||||
let aad: &[u8] = &[];
|
let aad: &[u8] = &[];
|
||||||
writeln!(DebugUart {}, "bef enc: nonce {:x?} aad {:x?} buf {:x?}", &nonce, aad, &buf[..32]).ok();
|
// writeln!(DebugUart {}, "bef enc: nonce {:x?} aad {:x?} buf {:x?}", &nonce, aad, &buf[..32]).ok();
|
||||||
match self.cipher.encrypt_in_place_detached(Nonce::from_slice(&nonce), aad, buf) {
|
match self.cipher.encrypt_in_place_detached(Nonce::from_slice(&nonce), aad, buf) {
|
||||||
Ok(tag) => {
|
Ok(tag) => {
|
||||||
// writeln!(DebugUart {}, "Nonce: {:x?}, tag: {:x?}", &nonce, tag.as_slice()).ok();
|
// writeln!(DebugUart {}, "Nonce: {:x?}, tag: {:x?}", &nonce, tag.as_slice()).ok();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue