Skip to main content

ensure_decap_key

Function ensure_decap_key 

Source
fn ensure_decap_key(slot: &mut Option<DecapKeyBytes>) -> Result<()>
Expand description

Populates slot with a freshly generated kem::DecapKeyBytes if it is None.