Page 1 of 1

WireGuard VPN Implementation on ESP32S3

Posted: Tue Apr 23, 2024 10:00 am
by aygh4266
Hello everyone,

I am searching for a header file or a library to implement the WireGuard VPN on ESP32S3.
I couldn't find any official header file or library in the official ESP32 documentation.
I am using ESP32S3 with ESP IDF. Please only refer to header files related to ESP IDF.

Thanks in advanced.

Re: WireGuard VPN Implementation on ESP32S3

Posted: Tue Apr 23, 2024 11:30 am
by MicroController

Re: WireGuard VPN Implementation on ESP32S3

Posted: Wed Apr 24, 2024 7:47 am
by aygh4266
I have mentioned before that I use ESP32S3. The Library you mentioned doesn't support the S3 series. However I've found this one:
https://github.com/ciniml/wireguard-lwi ... f73009d476

Re: WireGuard VPN Implementation on ESP32S3

Posted: Wed Apr 24, 2024 5:50 pm
by liaifat85
Looks like no wireguard-related library has been updated for S3. The following is applicable for S2 and C3 but there is no mention of S3.
https://github.com/trombik/esp_wireguard

Re: WireGuard VPN Implementation on ESP32S3

Posted: Wed Apr 24, 2024 7:14 pm
by MicroController
I'd expect that a lib like this which runs on C3 and S2 will run on an S3 with little to no modification; especially since, at a glance, I didn't see anything chip-specific in it.

(But I think that using the IDF-provided mbedtls version for cryptography would be more efficient than redundantly building non-optimized algos into the wireguard lib itself.)