]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update blake2 accelerated software tests to work after OCF refactoring.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 22 Apr 2020 20:43:18 +0000 (20:43 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 22 Apr 2020 20:43:18 +0000 (20:43 +0000)
commit871eec00e252fcdf21c24e313ab7da8ee7b7d39d
tree49ee4c99e894c3607793548889340869f5ddd2ca
parente27a9ad8e6b0587e4ba5d6a6410d8b458974032f
Update blake2 accelerated software tests to work after OCF refactoring.

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

PR: 245825
Reported by: lwhsu
Reviewed by: cem, lwhsu
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D24540
tests/sys/opencrypto/blake2_test.c