/dev/crypto not being used in 12-STABLE
jhb at FreeBSD.org
Fri Dec 7 17:43:25 UTC 2018
On 12/6/18 4:19 PM, Konstantin Belousov wrote:
> On Thu, Dec 06, 2018 at 04:48:35PM -0700, John Nielsen wrote:
>> Is aesni(4) even required if all you want is userland acceleration?
> No, it is not. Same for rdrand_rng(4), if an application uses hw random
> source directly.
To elaborate further, aesni(4) is only useful to accelerate in-kernel
crypto use (e.g. IPSec or GELI). The fact that /dev/crypto trys to use it
by default is a bug (IMO) that I'm planning on addressing.
More information about the freebsd-stable