Skip to main content

wrap_mc_key

Function wrap_mc_key 

Source
pub fn wrap_mc_key(mc_ke_key: &[u8; 16], mc_key: &[u8; 16]) -> [u8; 16]
Expand description

Wraps a group key for a device, which is what a server does before sending it.

§Arguments

  • mc_ke_key - the device’s key encryption key.
  • mc_key - the group key.

§Returns

The sixteen bytes the setup command carries.