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:
parent
39bc40e3d2
commit
b4fef8d068
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user