Re: [PATCH] crypto: af_alg - Add af_alg_restrict sysctl, defaulting to 1
Eric Biggers <[email protected]> Tue, 23 Jun 2026 18:05:02 +0000
| Newsgroups | dev.linux.lists.iwd,org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-crypto,org.kernel.vger.linux-doc,org.kernel.vger.linux-hardening,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jun 23, 2026 at 09:52:08AM -0700, Eric Biggers wrote: > On Tue, Jun 23, 2026 at 11:04:14AM -0400, Luiz Augusto von Dentz wrote: > > > +=== ================================================================== > > > +0 AF_ALG is unrestricted. > > > + > > > +1 AF_ALG is supported with a limited list of algorithms. The list > > > + is designed for compatibility with known users such as iwd and > > > + bluez that haven't yet been fixed to use userspace crypto code. > > > > Is the expectation that we go shopping for userspace crypto here? > > Yes, same as what 99% of userspace already does. Probably you'll just > want to link to OpenSSL, but it could be something else if you want. > > - Eric By the way you do know that bluez already has a local implementation of ECDH, right? See src/shared/ecc.c. - Eric