Function islet_sdk::c_api::islet_seal

source ·
#[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.