Function mc_root_key_for
Source pub fn mc_root_key_for(root_key: &[u8; 16], lorawan_11: bool) -> [u8; 16]
Expand description
Derives a device’s multicast root key, section 4.3.
§Arguments
root_key - the device’s GenAppKey on LoRaWAN 1.0.x, or its AppKey on 1.1.
lorawan_11 - whether the device follows the 1.1 scheme, which uses a different
constant.
§Returns
The McRootKey, which nothing but mc_ke_key is taken from.