Searched refs:fCntUp (Results 1 – 3 of 3) sorted by relevance
/loramac-node-3.4.0/src/mac/ |
D | LoRaMacCrypto.c | 423 …r_t keyID, bool isAck, uint8_t txDr, uint8_t txCh, uint32_t devAddr, uint32_t fCntUp, uint8_t* b1 ) in PrepareB1() argument 454 b1[10] = fCntUp & 0xFF; in PrepareB1() 455 b1[11] = ( fCntUp >> 8 ) & 0xFF; in PrepareB1() 456 b1[12] = ( fCntUp >> 16 ) & 0xFF; in PrepareB1() 457 b1[13] = ( fCntUp >> 24 ) & 0xFF; in PrepareB1() 482 … keyID, bool isAck, uint8_t txDr, uint8_t txCh, uint32_t devAddr, uint32_t fCntUp, uint32_t* cmac ) in ComputeCmacB1() argument 496 PrepareB1( len, keyID, isAck, txDr, txCh, devAddr, fCntUp, micBuff ); in ComputeCmacB1() 1287 LoRaMacCryptoStatus_t LoRaMacCryptoSecureMessage( uint32_t fCntUp, uint8_t txDr, uint8_t txCh, LoRa… in LoRaMacCryptoSecureMessage() argument 1297 if( fCntUp < CryptoNvm->FCntList.FCntUp ) in LoRaMacCryptoSecureMessage() 1309 if( fCntUp > CryptoNvm->FCntList.FCntUp ) in LoRaMacCryptoSecureMessage() [all …]
|
D | LoRaMacCrypto.h | 282 LoRaMacCryptoStatus_t LoRaMacCryptoSecureMessage( uint32_t fCntUp, uint8_t txDr, uint8_t txCh, LoRa…
|
D | LoRaMac.c | 2952 uint32_t fCntUp = 0; in SecureFrame() local 2982 if( LORAMAC_CRYPTO_SUCCESS != LoRaMacCryptoGetFCntUp( &fCntUp ) ) in SecureFrame() 2989 fCntUp -= 1; in SecureFrame() 2992 … macCryptoStatus = LoRaMacCryptoSecureMessage( fCntUp, txDr, txCh, &MacCtx.TxMsg.Message.Data ); in SecureFrame() 3181 uint32_t fCntUp = 0; in PrepareFrame() local 3210 if( LORAMAC_CRYPTO_SUCCESS != LoRaMacCryptoGetFCntUp( &fCntUp ) ) in PrepareFrame() 3214 MacCtx.TxMsg.Message.Data.FHDR.FCnt = ( uint16_t )fCntUp; in PrepareFrame() 3219 MacCtx.McpsConfirm.UpLinkCounter = fCntUp; in PrepareFrame()
|