Is AES-NI supported in OpnSense:

Started by Bjur, December 13, 2019, 06:29:47 PM

Previous topic - Next topic
Hi I'm considering OpnSense. Have just upgraded my hardware to support AES-NI and want to use OpenVPN with AES-NI hardware acceleration. Will that be supported with OpnSense?

OpenVPN runs im userspace, theres no real benefit here. Better use IPsec

Thanks is it the same in pfsense. I just want highest possible throughput in VPN


AFAIK OpenSSL is compiled with AES-NI support and it is used, if it is there. The only problem is that it is not always usable.

What do you mean by not always usable?

Does the tunnel settings be configured in a specific way to make openssl use it?
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de

It depends of the mode in which OpenSSL is running. The high level functions can enable hardware acceleration automatically.

Here is some old GitHub ticket:
https://github.com/opnsense/core/issues/3551