Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/mac/
DLoRaMacCrypto.c535 static LoRaMacCryptoStatus_t DeriveSessionKey10x( KeyIdentifier_t keyID, uint32_t joinNonce, uint32… in DeriveSessionKey10x() argument
553 compBase[1] = ( uint8_t )( ( joinNonce >> 0 ) & 0xFF ); in DeriveSessionKey10x()
554 compBase[2] = ( uint8_t )( ( joinNonce >> 8 ) & 0xFF ); in DeriveSessionKey10x()
555 compBase[3] = ( uint8_t )( ( joinNonce >> 16 ) & 0xFF ); in DeriveSessionKey10x()
582 static LoRaMacCryptoStatus_t DeriveSessionKey11x( KeyIdentifier_t keyID, uint32_t joinNonce, uint8_… in DeriveSessionKey11x() argument
611 compBase[1] = ( uint8_t )( ( joinNonce >> 0 ) & 0xFF ); in DeriveSessionKey11x()
612 compBase[2] = ( uint8_t )( ( joinNonce >> 8 ) & 0xFF ); in DeriveSessionKey11x()
613 compBase[3] = ( uint8_t )( ( joinNonce >> 16 ) & 0xFF ); in DeriveSessionKey11x()
811 static bool IsJoinNonce10xOk( uint32_t joinNonce ) in IsJoinNonce10xOk() argument
815 return ( joinNonce > CryptoNvm->JoinNonce ) ? true : false; in IsJoinNonce10xOk()
[all …]