Skip to main content

islet_seal

Function islet_seal 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn islet_seal( plaintext: *const c_uchar, plaintext_len: c_int, sealed_out: *mut c_uchar, sealed_out_len: *mut c_int, ) -> islet_status_t
Expand description

Seals the plaintext given into the binary slice

ยงNote

This API currently seals with a hard-coded key, to simulate seal operation. In future, this will be finalized to support keys derived from HES.