Moves the TockEnv implementation of RNG to env/ (#599)

This change removes the tock dependencies from non-Tock envs.
This commit is contained in:
kaczmarczyck
2023-03-06 11:21:48 +01:00
committed by GitHub
parent d8512b4417
commit 3135c13e6b
8 changed files with 15 additions and 102 deletions

View File

@@ -21,11 +21,11 @@ use alloc::format;
use alloc::vec::Vec;
use core::fmt::Write;
use crypto::{aes256, cbc, ecdsa, sha256, Hash256};
use ctap2::env::tock::TockRng256;
use libtock_drivers::console::Console;
use libtock_drivers::result::FlexUnwrap;
use libtock_drivers::timer;
use libtock_drivers::timer::{Timer, Timestamp};
use rng256::TockRng256;
libtock_core::stack_size! {0x800}