Current Behavior
I use an ELRS TX device with ESP32 + SX127X. I tested your solution and found that the RandRSSI() function returns only zero bytes (0x00) in that HW configuration.
Steps to Reproduce
Can be easily verified via ELRS RX device:
Upload FW with -DDEBUG_LOG to ELRS RX device. When an encryption connection is established then a new key (retrieved from RandRSSI() of ELRS TX device) is printed out on the UART console.
Possible Solution (Not obligatory)
I think there is a typo in this line:

Details
Your Environment
- TX hardware: ESP32 + SX127X
- RX hardware:
- Handset model:
- OpenTX version (including nightly number)
- ExpressLRS version (TX & RX MUST MATCH): Secure 3.5.3
- Packet Rate:
- Telemetry Ratio:
- user_defines:
Current Behavior
I use an ELRS TX device with ESP32 + SX127X. I tested your solution and found that the RandRSSI() function returns only zero bytes (0x00) in that HW configuration.
Steps to Reproduce
Can be easily verified via ELRS RX device:
Upload FW with -DDEBUG_LOG to ELRS RX device. When an encryption connection is established then a new key (retrieved from RandRSSI() of ELRS TX device) is printed out on the UART console.
Possible Solution (Not obligatory)
I think there is a typo in this line:

Details
Your Environment