Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/mac/
DLoRaMacCrypto.c141 uint8_t sBlock[16] = { 0 }; in PayloadEncrypt() local
162 if( SecureElementAesEncrypt( aBlock, 16, keyID, sBlock ) != SECURE_ELEMENT_SUCCESS ) in PayloadEncrypt()
169 buffer[bufferIndex + i] = buffer[bufferIndex + i] ^ sBlock[i]; in PayloadEncrypt()
198 uint8_t sBlock[16] = { 0 }; in FOptsEncrypt() local
248 if( SecureElementAesEncrypt( aBlock, 16, NWK_S_ENC_KEY, sBlock ) != SECURE_ELEMENT_SUCCESS ) in FOptsEncrypt()
254 buffer[bufferIndex + i] = buffer[bufferIndex + i] ^ sBlock[i]; in FOptsEncrypt()