Home
last modified time | relevance | path

Searched refs:MIC (Results 1 – 6 of 6) sorted by relevance

/loramac-node-3.6.0-3.5.0/src/mac/
DLoRaMacSerializer.c50 macMsg->Buffer[bufItr++] = macMsg->MIC & 0xFF; in LoRaMacSerializerJoinRequest()
51 macMsg->Buffer[bufItr++] = ( macMsg->MIC >> 8 ) & 0xFF; in LoRaMacSerializerJoinRequest()
52 macMsg->Buffer[bufItr++] = ( macMsg->MIC >> 16 ) & 0xFF; in LoRaMacSerializerJoinRequest()
53 macMsg->Buffer[bufItr++] = ( macMsg->MIC >> 24 ) & 0xFF; in LoRaMacSerializerJoinRequest()
87 macMsg->Buffer[bufItr++] = macMsg->MIC & 0xFF; in LoRaMacSerializerReJoinType1()
88 macMsg->Buffer[bufItr++] = ( macMsg->MIC >> 8 ) & 0xFF; in LoRaMacSerializerReJoinType1()
89 macMsg->Buffer[bufItr++] = ( macMsg->MIC >> 16 ) & 0xFF; in LoRaMacSerializerReJoinType1()
90 macMsg->Buffer[bufItr++] = ( macMsg->MIC >> 24 ) & 0xFF; in LoRaMacSerializerReJoinType1()
124 macMsg->Buffer[bufItr++] = macMsg->MIC & 0xFF; in LoRaMacSerializerReJoinType0or2()
125 macMsg->Buffer[bufItr++] = ( macMsg->MIC >> 8 ) & 0xFF; in LoRaMacSerializerReJoinType0or2()
[all …]
DLoRaMacParser.c60 macMsg->MIC = ( uint32_t ) macMsg->Buffer[bufItr++]; in LoRaMacParserJoinAccept()
61 macMsg->MIC |= ( ( uint32_t ) macMsg->Buffer[bufItr++] << 8 ); in LoRaMacParserJoinAccept()
62 macMsg->MIC |= ( ( uint32_t ) macMsg->Buffer[bufItr++] << 16 ); in LoRaMacParserJoinAccept()
63 macMsg->MIC |= ( ( uint32_t ) macMsg->Buffer[bufItr++] << 24 ); in LoRaMacParserJoinAccept()
105 macMsg->MIC = ( uint32_t ) macMsg->Buffer[( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE )]; in LoRaMacParserData()
106 …macMsg->MIC |= ( ( uint32_t ) macMsg->Buffer[( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE ) + 1] << … in LoRaMacParserData()
107 …macMsg->MIC |= ( ( uint32_t ) macMsg->Buffer[( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE ) + 2] << … in LoRaMacParserData()
108 …macMsg->MIC |= ( ( uint32_t ) macMsg->Buffer[( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE ) + 3] << … in LoRaMacParserData()
DLoRaMacMessageTypes.h80 uint32_t MIC; member
119 uint32_t MIC; member
158 uint32_t MIC; member
205 uint32_t MIC; member
246 uint32_t MIC; member
DLoRaMacCrypto.c1017 …OIN_REQ_MSG_SIZE - LORAMAC_MIC_FIELD_SIZE ), micComputationKeyID, &macMsg->MIC ) != SECURE_ELEMENT… in LoRaMacCryptoPrepareJoinRequest()
1053 …RAMAC_RE_JOIN_1_MSG_SIZE - LORAMAC_MIC_FIELD_SIZE ), J_S_INT_KEY, &macMsg->MIC ) != SECURE_ELEMENT… in LoRaMacCryptoPrepareReJoinType1()
1095 …RE_JOIN_0_2_MSG_SIZE - LORAMAC_MIC_FIELD_SIZE ), S_NWK_S_INT_KEY, &macMsg->MIC ) != SECURE_ELEMENT… in LoRaMacCryptoPrepareReJoinType0or2()
1356 macMsg->MIC = ( ( cmacF << 16 ) & 0xFFFF0000 ) | ( cmacS & 0x0000FFFF ); in LoRaMacCryptoSecureMessage()
1363 …RAMAC_MIC_FIELD_SIZE ), NWK_S_ENC_KEY, false, UPLINK, macMsg->FHDR.DevAddr, fCntUp, &macMsg->MIC ); in LoRaMacCryptoSecureMessage()
1429 …- LORAMAC_MIC_FIELD_SIZE ), micComputationKeyID, isAck, DOWNLINK, address, fCntDown, macMsg->MIC ); in LoRaMacCryptoUnsecureMessage()
DLoRaMac.c1264 Nvm.MacGroup1.LastRxMic = macMsgData.MIC; in ProcessRadioRxDone()
/loramac-node-3.6.0-3.5.0/
DCHANGELOG.md779 … the following situations arrived in `OnRxDone` callback: bad address, bad MIC, bad frame. (Pull r…