logoalt Hacker News

dlcarriertoday at 7:09 AM2 repliesview on HN

TLS is supported in hardware, so it takes no more processing power than moving the data around without encryption.

In the US, ADS-B in uses 1.3 MHz of bandwidth, which would require 2.6 Msps. The ESP32-C3 running at 160 Mhz would have ~70 instructions per sample to process the data. That's probably doable, but the ESP32-C3 is one of the less capable variations of the line, and there are dual-core versions running at more than double the frequency, and those should be able to handle ADS-B in without issue.


Replies

schoentoday at 7:46 AM

> TLS is supported in hardware, so it takes no more processing power than moving the data around without encryption.

Specifically, common PC CPUs support AES acceleration, so you can get the ongoing encryption for an established connection with minimal overhead. There is still some initial overhead for establishing the TLS connection due to the need to do key exchange (with asymmetric cryptography primitives typically based on Diffie-Hellman with finite fields or elliptic curves).

cenamustoday at 8:19 AM

GPS is over 1 GHz, but I don't think you need to have a microcontroller running that fast to decode it?

show 1 reply