HomeFreeBSD

Add a crypto capability flag for accelerated software drivers.

Description

Add a crypto capability flag for accelerated software drivers.

Use this in GELI to print out a different message when accelerated
software such as AESNI is used vs plain software crypto.

While here, simplify the logic in GELI a bit for determing which type
of crypto driver was chosen the first time by examining the
capabilities of the matched driver after a single call to
crypto_newsession rather than making separate calls with different
flags.

Reviewed by: delphij
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D25126

Details

Provenance
jhbAuthored on Jun 9 2020, 10:26 PM
Parents
rGcea399ec0e2b: Mark padlock(4) and cryptocteon(4) as software drivers.
Branches
Unknown
Tags
Unknown