Skip to main content

pamoja_lorawan_mc_ke_key

Function pamoja_lorawan_mc_ke_key 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_lorawan_mc_ke_key( mc_root_key: *const u8, out_key: *mut u8, ) -> PamojaStatus
Expand description

Derives the key a multicast group’s key travels under, section 4.3.

§Arguments

§Returns

PamojaStatus::Ok on success.

§Errors

Returns PamojaStatus::InvalidArgument for a null pointer.

§Safety

Both pointers must be valid for sixteen bytes.