WireGuard VPN Implementation on ESP32S3

aygh4266
Posts: 24
Joined: Mon Mar 04, 2024 10:33 am

WireGuard VPN Implementation on ESP32S3

Postby aygh4266 » Tue Apr 23, 2024 10:00 am

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.

MicroController
Posts: 1760
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: WireGuard VPN Implementation on ESP32S3

Postby MicroController » Tue Apr 23, 2024 11:30 am


aygh4266
Posts: 24
Joined: Mon Mar 04, 2024 10:33 am

Re: WireGuard VPN Implementation on ESP32S3

Postby aygh4266 » Wed Apr 24, 2024 7:47 am

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

liaifat85
Posts: 200
Joined: Wed Dec 06, 2023 2:46 pm

Re: WireGuard VPN Implementation on ESP32S3

Postby liaifat85 » Wed Apr 24, 2024 5:50 pm

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

MicroController
Posts: 1760
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: WireGuard VPN Implementation on ESP32S3

Postby MicroController » Wed Apr 24, 2024 7:14 pm

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.)

Who is online

Users browsing this forum: No registered users and 78 guests