Page MenuHomeFreeBSD

Update blake2 accelerated software tests to work after OCF refactoring.
ClosedPublic

Authored by jhb on Apr 22 2020, 7:27 PM.
Tags
None
Referenced Files
F154290808: D24540.id.diff
Mon, Apr 27, 3:42 PM
F154283305: D24540.id70894.diff
Mon, Apr 27, 2:30 PM
F154232507: D24540.id.diff
Mon, Apr 27, 7:33 AM
F154209589: D24540.id70892.diff
Mon, Apr 27, 3:30 AM
Unknown Object (File)
Sun, Apr 26, 4:17 AM
Unknown Object (File)
Sat, Apr 25, 7:43 AM
Unknown Object (File)
Fri, Apr 24, 12:48 AM
Unknown Object (File)
Tue, Apr 21, 11:29 AM
Subscribers

Details

Summary
  • Lookup device drivers to test by name instead of assuming that the software / hardware flags will select specific drivers.
  • Set the sysctl to permit software /dev/crypto requests when testing the accelerated software blake2 driver.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cem added a subscriber: cem.
cem added inline comments.
tests/sys/opencrypto/blake2_test.c
149 ↗(On Diff #70890)

I’d prefer to do the lookup_crid on a statement of its own. Just a style nit.

This revision is now accepted and ready to land.Apr 22 2020, 7:34 PM
jhb marked an inline comment as done.
  • Move lookup_crid to separate lines.
This revision now requires review to proceed.Apr 22 2020, 7:46 PM
This revision is now accepted and ready to land.Apr 22 2020, 7:50 PM

Verified tests pass after applying the patch.