Get the App
SLTechnology News&Howtos  ›  Network Security  › 

LoRa protocol encryption

Shulou Source: shulou.com Published: 2022-06-01 07:50:55 10月03日 Update

4.3.3 if a data frame contains a data payload, the FRMPayload must be encrypted before the MIC calculation.

The encryption mechanism is based on the algorithm mentioned in IEEE 802.15.4 Annex B [IEEE802154] 2006 and uses an AES key of length 128bits.

By default, the LoRaWAN layer encrypts / decrypts all FPort data. If the application layer is convenient, you can also encrypt and decrypt the data except FPort 0 on the upper layer of the LoRaWAN layer. As for which FPort is handed over to layers other than the LoRaWAN layer for encryption and decryption, it requires additional communication between the server and the node (see part 19 for details).

4.3.3.1 LoRaWAN encryption

-

| | FPort | k | |

-

| | 0 | NwkSKey |

-

| | 1.. 255 | AppSKey |

-

Tags: Encryption data upper layer key hierarchy application layer situation server mechanism algorithm node part length application service Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL macOS Redmi Xiaomi vpn