Realm

oa::crypto::pqc::device::DeviceMlKemKey

Unique retained ML-KEM decapsulation key; secret bytes never enter Matrix.

StRust public API

Declaration

pub struct DeviceMlKemKey { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn parameters(&self) -> MlKemParameters
pub const fn public_key(&self) -> &Matrix
pub const fn cleanup(&self) -> &DeviceErasure
pub fn erase(self) -> Result<DeviceErasure>

Public Method Documentation

pub const fn parameters( &self ) -> MlKemParameters
No public source comment is attached to this declaration.
pub const fn public_key( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn cleanup( &self ) -> &DeviceErasure
No public source comment is attached to this declaration.
pub fn erase( self ) -> Result<DeviceErasure>
No public source comment is attached to this declaration.