Struct uefi_raw::protocol::rng::RngAlgorithmType
source · #[repr(transparent)]pub struct RngAlgorithmType(pub Guid);
Expand description
The algorithms listed are optional, not meant to be exhaustive and may be augmented by vendors or other industry standards.
Tuple Fields§
§0: Guid
Implementations§
source§impl RngAlgorithmType
impl RngAlgorithmType
sourcepub const EMPTY_ALGORITHM: RngAlgorithmType = _
pub const EMPTY_ALGORITHM: RngAlgorithmType = _
Indicates a empty algorithm, used to instantiate a buffer
for get_info
sourcepub const ALGORITHM_RAW: RngAlgorithmType = _
pub const ALGORITHM_RAW: RngAlgorithmType = _
The “raw” algorithm, when supported, is intended to provide entropy directly from the source, without it going through some deterministic random bit generator.
sourcepub const ALGORITHM_SP800_90_HASH_256: RngAlgorithmType = _
pub const ALGORITHM_SP800_90_HASH_256: RngAlgorithmType = _
ALGORITHM_SP800_90_HASH_256
sourcepub const ALGORITHM_SP800_90_HMAC_256: RngAlgorithmType = _
pub const ALGORITHM_SP800_90_HMAC_256: RngAlgorithmType = _
ALGORITHM_SP800_90_HMAC_256
sourcepub const ALGORITHM_SP800_90_CTR_256: RngAlgorithmType = _
pub const ALGORITHM_SP800_90_CTR_256: RngAlgorithmType = _
ALGORITHM_SP800_90_CTR_256
sourcepub const ALGORITHM_X9_31_3DES: RngAlgorithmType = _
pub const ALGORITHM_X9_31_3DES: RngAlgorithmType = _
ALGORITHM_X9_31_3DES
sourcepub const ALGORITHM_X9_31_AES: RngAlgorithmType = _
pub const ALGORITHM_X9_31_AES: RngAlgorithmType = _
ALGORITHM_X9_31_AES
Trait Implementations§
source§impl Clone for RngAlgorithmType
impl Clone for RngAlgorithmType
source§fn clone(&self) -> RngAlgorithmType
fn clone(&self) -> RngAlgorithmType
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RngAlgorithmType
impl Debug for RngAlgorithmType
source§impl PartialEq for RngAlgorithmType
impl PartialEq for RngAlgorithmType
source§fn eq(&self, other: &RngAlgorithmType) -> bool
fn eq(&self, other: &RngAlgorithmType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.