Expand description
S2 key derivation (CKDF), per the Security 2 specification.
All derivations are AES-128-CMAC over fixed constants, so the outputs are the same on every implementation; the controller and the joining node derive the same temporary keys from the ECDH secret and both public keys.
Structs§
- Derived
Keys - Keys derived from a permanent network key (or, during bootstrapping, from the ECDH secret).
Functions§
- mei
- CKDF-MEI-Expand: the 32-byte mixed entropy input that seeds a SPAN’s CTR_DRBG.
- network_
keys - CKDF-NetworkKeyExpand: CCM key, personalization string and MPAN key from a network key.
- nonce_
prk - CKDF-MEI-Extract: the nonce PRK from the sender’s and receiver’s entropy inputs.
- temp_
keys - CKDF-TempExpand: the temporary CCM key and personalization string.
- temp_
prk - CKDF-TempExtract: the pseudo random key from the ECDH shared secret.