Searched refs:hvc (Results 1 – 5 of 5) sorted by relevance
17 use crate::hvc;32 Trng(hvc::trng::Error),36 UnsupportedTrngVersion(hvc::trng::Version),45 impl From<hvc::trng::Error> for Error {46 fn from(e: hvc::trng::Error) -> Self { in from()81 match hvc::trng_version()? { in init()82 hvc::trng::Version { major: 1, minor: _ } => (), in init()87 let _ = hvc::trng_features(hvc::ARM_SMCCC_TRNG_RND64).map_err(|e| { in init()88 if e == hvc::trng::Error::NotSupported { in init()127 let result = hvc::trng_rnd64((n_bytes * bits).try_into().unwrap()); in rnd64()[all …]
28 mod hvc; module
35 hvc 0
105 method = "hvc";
341 method = "hvc";