Trait aws_nitro_enclaves_cose::crypto::Entropy

source ·
pub trait Entropy {
    // Required method
    fn rand_bytes(buff: &mut [u8]) -> Result<(), CoseError>;
}
Expand description

A trait exposing a source of entropy

Required Methods§

source

fn rand_bytes(buff: &mut [u8]) -> Result<(), CoseError>

Fill the provided buff with cryptographic random values.

Object Safety§

This trait is not object safe.

Implementors§