Function islet_sdk::c_api::islet_unseal

source ·
#[no_mangle]
pub unsafe extern "C" fn islet_unseal(
    sealed: *const c_uchar,
    sealed_len: c_int,
    plaintext_out: *mut c_uchar,
    plaintext_out_len: *mut c_int
) -> islet_status_t
Expand description

Unseals into plaintext the sealed binary provided.

Note

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