mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
clarify trng hosted mode messages, reduce noise
This commit is contained in:
parent
96959bfe0d
commit
e8dc10977a
1 changed files with 4 additions and 4 deletions
|
|
@ -432,8 +432,8 @@ mod implementation {
|
|||
pub fn wait_full(&self) { }
|
||||
|
||||
pub fn get_buf(&mut self, len: u16) -> TrngBuf {
|
||||
if self.msgcount < 10 {
|
||||
log::info!("hosted mode TRNG is *not* random, it is an LFSR");
|
||||
if self.msgcount < 3 {
|
||||
log::info!("hosted mode TRNG is *not* random, it is a deterministic LFSR");
|
||||
}
|
||||
self.msgcount += 1;
|
||||
let mut tb = TrngBuf {data: [0; 1024], len};
|
||||
|
|
@ -445,8 +445,8 @@ mod implementation {
|
|||
}
|
||||
|
||||
pub fn get_trng(&mut self, _count: usize) -> [u32; 2] {
|
||||
if self.msgcount < 10 {
|
||||
log::info!("hosted mode TRNG is *not* random, it is an LFSR");
|
||||
if self.msgcount < 3 {
|
||||
log::info!("hosted mode TRNG is *not* random, it is a deterministic LFSR");
|
||||
}
|
||||
self.msgcount += 1;
|
||||
let mut ret: [u32; 2] = [0; 2];
|
||||
|
|
|
|||
Loading…
Reference in a new issue