tee_call

Trait TeeCallGetDerivedKey

Source
pub trait TeeCallGetDerivedKey: TeeCall {
    // Required method
    fn get_derived_key(&self, tcb_version: u64) -> Result<[u8; 32], Error>;
}
Expand description

Optional sub-trait that defines get derived key interface for TEE.

Required Methods§

Source

fn get_derived_key(&self, tcb_version: u64) -> Result<[u8; 32], Error>

Get the derived key that should be deterministic based on the hardware and software configurations.

Implementors§