]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Check cipher key lengths during probesession.
authorjhb <jhb@FreeBSD.org>
Thu, 5 Nov 2020 23:31:58 +0000 (23:31 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 5 Nov 2020 23:31:58 +0000 (23:31 +0000)
commit4cf841fb608c4994fc68b5c9d9d3bfd999bfcfa5
treea92ffa854eaa58a000da55e5d6298f2db78eca1d
parent733f9ec4050c44ea23f2bd5b19b8a9a88bd0780b
Check cipher key lengths during probesession.

OCF drivers in general should perform as many session parameter checks
as possible during probesession rather than when creating a new
session.  I got this wrong for aesni(4) in r359374.  In addition,
aesni(4) was performing the check for digest-only requests and failing
to create digest-only sessions as a result.

Reported by: jkim
Tested by: jkim
Sponsored by: Chelsio Communications
sys/crypto/aesni/aesni.c