Merge pull request #4096 from wez/csprng
embassy-rp: impl rand_core::CryptoRng for Trng
This commit is contained in:
commit
05c6634904
@ -368,6 +368,9 @@ impl<'d, T: Instance> rand_core::RngCore for Trng<'d, T> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
impl<'d, T: Instance> rand_core::CryptoRng for Trng<'d, T> {}
|
||||
|
||||
/// TRNG interrupt handler.
|
||||
pub struct InterruptHandler<T: Instance> {
|
||||
_trng: PhantomData<T>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user