Searched refs:netID (Results 1 – 2 of 2) sorted by relevance
/loramac-node-3.4.0/src/mac/ |
D | LoRaMacCrypto.c | 535 … DeriveSessionKey10x( KeyIdentifier_t keyID, uint32_t joinNonce, uint32_t netID, uint16_t devNonce… in DeriveSessionKey10x() argument 557 compBase[4] = ( uint8_t )( ( netID >> 0 ) & 0xFF ); in DeriveSessionKey10x() 558 compBase[5] = ( uint8_t )( ( netID >> 8 ) & 0xFF ); in DeriveSessionKey10x() 559 compBase[6] = ( uint8_t )( ( netID >> 16 ) & 0xFF ); in DeriveSessionKey10x() 1240 uint32_t netID; in LoRaMacCryptoHandleJoinAccept() local 1242 netID = ( uint32_t )macMsg->NetID[0]; in LoRaMacCryptoHandleJoinAccept() 1243 netID |= ( ( uint32_t )macMsg->NetID[1] << 8 ); in LoRaMacCryptoHandleJoinAccept() 1244 netID |= ( ( uint32_t )macMsg->NetID[2] << 16 ); in LoRaMacCryptoHandleJoinAccept() 1246 retval = DeriveSessionKey10x( APP_S_KEY, currentJoinNonce, netID, nonce ); in LoRaMacCryptoHandleJoinAccept() 1252 retval = DeriveSessionKey10x( NWK_S_ENC_KEY, currentJoinNonce, netID, nonce ); in LoRaMacCryptoHandleJoinAccept() [all …]
|
/loramac-node-3.4.0/ |
D | CHANGELOG.md | 960 … `void LoRaMacInitNwkIds( uint32_t netID, uint32_t devAddr, uint8_t *nwkSKey, uint8_t *appSKey );`
|