Home
last modified time | relevance | path

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

/loramac-node-3.7.0/src/mac/
DLoRaMacCrypto.c142 uint8_t aBlock[16] = { 0 }; in PayloadEncrypt() local
144 aBlock[0] = 0x01; in PayloadEncrypt()
146 aBlock[5] = dir; in PayloadEncrypt()
148 aBlock[6] = address & 0xFF; in PayloadEncrypt()
149 aBlock[7] = ( address >> 8 ) & 0xFF; in PayloadEncrypt()
150 aBlock[8] = ( address >> 16 ) & 0xFF; in PayloadEncrypt()
151 aBlock[9] = ( address >> 24 ) & 0xFF; in PayloadEncrypt()
153 aBlock[10] = frameCounter & 0xFF; in PayloadEncrypt()
154 aBlock[11] = ( frameCounter >> 8 ) & 0xFF; in PayloadEncrypt()
155 aBlock[12] = ( frameCounter >> 16 ) & 0xFF; in PayloadEncrypt()
[all …]