Home
last modified time | relevance | path

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

/loramac-node-3.6.0-3.5.0/src/mac/
DLoRaMacCrypto.c537 uint8_t compBase[16] = { 0 }; in DeriveSessionKey10x() local
544 compBase[0] = 0x01; in DeriveSessionKey10x()
547 compBase[0] = 0x02; in DeriveSessionKey10x()
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()
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()
561 compBase[7] = ( uint8_t )( ( devNonce >> 0 ) & 0xFF ); in DeriveSessionKey10x()
[all …]