mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
update test on cram side too
This commit is contained in:
parent
e9ab865e09
commit
9ebb61c68c
1 changed files with 3 additions and 3 deletions
|
|
@ -23,10 +23,10 @@ impl<'a> ShellCmdApi<'a> for TrngCmd {
|
|||
"pump" => {
|
||||
const ROUNDS: usize = 16;
|
||||
for i in 0..ROUNDS {
|
||||
log::debug!("pump round {}", i);
|
||||
let mut buf: [u32; 1024] = [0; 1024];
|
||||
log::info!("pump round {}", i);
|
||||
let mut buf: [u32; 1020] = [0; 1020];
|
||||
env.trng.fill_buf(&mut buf).unwrap();
|
||||
log::debug!("pump samples: {:x}, {:x}, {:x}", buf[0], buf[512], buf[1023]);
|
||||
log::info!("pump samples: {:x}, {:x}, {:x}", buf[0], buf[512], buf[1019]);
|
||||
}
|
||||
write!(ret, "Pumped {}x1k values out of the engine", ROUNDS).unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue