Date: Fri, 25 Mar 2016 10:12:07 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 166508] [glxsb] AES 256 encryption does not work with glxsb driver Message-ID: <bug-166508-8-dzoUBO7L6c@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-166508-8@https.bugs.freebsd.org/bugzilla/> References: <bug-166508-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166508 longwitz@incore.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |longwitz@incore.de --- Comment #3 from longwitz@incore.de --- Hello, the following patch eliminates the CAVEAT of glxsb(4) for me, so I can run = AES with mixed length on soekris boxes using glxsb: --- crypto.c.orig 2015-03-13 12:01:21.000000000 +0100 +++ crypto.c 2016-03-25 11:04:57.670215000 +0100 @@ -362,6 +362,14 @@ (cap->cc_flags & match) =3D=3D 0) continue; + /* + * workaround for CAVEAT in glxsb(4) + */ + if (strncmp(device_get_nameunit(cap->cc_dev), "glxsb", 5) = =3D=3D 0 && + cri->cri_alg =3D=3D CRYPTO_AES_CBC && + cri->cri_klen !=3D 128) + continue; + /* verify all the algorithms are supported. */ if (driver_suitable(cap, cri)) { if (best =3D=3D NULL | --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-166508-8-dzoUBO7L6c>