MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / DeriveJSIntKey

Function DeriveJSIntKey

pkg/crypto/key_derivation.go:93–95  ·  view source on GitHub ↗

DeriveJSIntKey derives the Join Server Integrity Key

(key types.AES128Key, devEUI types.EUI64)

Source from the content-addressed store, hash-verified

91
92// DeriveJSIntKey derives the Join Server Integrity Key
93func DeriveJSIntKey(key types.AES128Key, devEUI types.EUI64) types.AES128Key {
94 return deriveDeviceKey(key, 0x06, devEUI)
95}
96
97// DeriveJSEncKey derives the Join Server Encryption Key
98func DeriveJSEncKey(key types.AES128Key, devEUI types.EUI64) types.AES128Key {

Callers 3

JoinAcceptMICMethod · 0.92
processDownlinkFunction · 0.92
TestKeyDerivationFunction · 0.85

Calls 1

deriveDeviceKeyFunction · 0.85

Tested by 1

TestKeyDerivationFunction · 0.68