padlock: fix Via Padlock with 192-bit keys

It's been broken since a typo in r359374

Reviewed by:	jhb
MFC after:	2 weeks
Sponsored by:	Axcient
Differential Revision:	https://reviews.freebsd.org/D25710
This commit is contained in:
Alan Somers 2020-07-20 16:12:14 +00:00
parent 39bc40e3d2
commit b4fef8d068
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363368

View File

@ -124,7 +124,7 @@ padlock_cipher_setup(struct padlock_session *ses,
{
union padlock_cw *cw;
if (csp->csp_cipher_klen != 16 && csp->csp_cipher_klen != 25 &&
if (csp->csp_cipher_klen != 16 && csp->csp_cipher_klen != 24 &&
csp->csp_cipher_klen != 32) {
return (EINVAL);
}