Searched refs:fCntUp (Results 1 – 3 of 3) sorted by relevance
/loramac-node-3.7.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 | 284 LoRaMacCryptoStatus_t LoRaMacCryptoSecureMessage( uint32_t fCntUp, uint8_t txDr, uint8_t txCh, LoRa…
|
D | LoRaMac.c | 3041 uint32_t fCntUp = 0; in SecureFrame() local 3071 if( LORAMAC_CRYPTO_SUCCESS != LoRaMacCryptoGetFCntUp( &fCntUp ) ) in SecureFrame() 3078 fCntUp -= 1; in SecureFrame() 3081 … macCryptoStatus = LoRaMacCryptoSecureMessage( fCntUp, txDr, txCh, &MacCtx.TxMsg.Message.Data ); in SecureFrame() 3284 uint32_t fCntUp = 0; in PrepareFrame() local 3313 if( LORAMAC_CRYPTO_SUCCESS != LoRaMacCryptoGetFCntUp( &fCntUp ) ) in PrepareFrame() 3317 MacCtx.TxMsg.Message.Data.FHDR.FCnt = ( uint16_t )fCntUp; in PrepareFrame() 3322 MacCtx.McpsConfirm.UpLinkCounter = fCntUp; in PrepareFrame()
|