Merge pull request #4096 from wez/csprng

embassy-rp: impl rand_core::CryptoRng for Trng
This commit is contained in:
Dario Nieuwenhuis 2025-04-15 10:33:25 +00:00 committed by GitHub
commit 05c6634904
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>,