Skip to main content

block_server_register_key_slot

Function block_server_register_key_slot 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn block_server_register_key_slot( block_server: &BlockServer, hw_slot: u8, out_handle: *mut zx_handle_t, ) -> zx_status_t
Expand description

Registers a hardware inline encryption key slot hw_slot with block_server, writing the client end of the minted eventpair token to out_handle.

ยงSafety

block_server must be a valid reference. out_handle must be valid for writes, properly aligned, and not accessed concurrently or aliased by active references for the duration of the write.