bluez: Update kernel configuration section

1. I'm pretty sure MD5, SHA1, and KEY_DH_OPERATIONS are not needed
   because I've tried testing bluez w/o them.
2. Some options mentioned by the package's README should be added.
3. The menu hierarchy of Cryptographic API section has been changed in
   recent kernel releases so we need to adapt.
4. Let's not encourage people to use CONFIG_EXPERT.
This commit is contained in:
Xi Ruoyao 2023-02-18 04:22:00 +08:00
parent 9138c6e080
commit 8cf92e149b
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -102,17 +102,20 @@
<para>
If you are building this package to use bluetooth devices (rather than as a
build dependency), enable the following options in the kernel configuration,
also the options below the next paragraph if you intend to run the tests,
and recompile the kernel if necessary:
also the options in the <quote>Cryptographic API</quote> section if
you intend to run the tests, and recompile the kernel if necessary:
</para>
<screen><literal>General Setup ---&gt;
[*] Configure standard kernel features (expert users) [CONFIG_EXPERT]
[*] Enable timerfd() system call [CONFIG_TIMERFD]
[*] Enable eventfd() system call [CONFIG_EVENTFD]
[ /*] Configure standard kernel features (expert users) [CONFIG_EXPERT]
(Note: if CONFIG_EXPERT is disabled, the following options will be
hidden and enabled implicitly. We DO NOT recommend to enable
CONFIG_EXPERT unless you are really an expert user.)
[*] Enable timerfd() system call [CONFIG_TIMERFD]
[*] Enable eventfd() system call [CONFIG_EVENTFD]
[*] Networking support ---&gt; [CONFIG_NET]
&lt;*/M&gt; Bluetooth subsystem support ---&gt; [CONFIG_BT]
&lt;*/M&gt; Bluetooth subsystem support ---&gt; [CONFIG_BT]
&lt;*/M&gt; RFCOMM protocol support [CONFIG_BT_RFCOMM]
[*] RFCOMM TTY support [CONFIG_BT_RFCOMM_TTY]
&lt;*/M&gt; BNEP protocol support [CONFIG_BT_BNEP]
@ -122,17 +125,21 @@
Bluetooth device drivers ---&gt;
(Select the appropriate drivers for your Bluetooth hardware)
&lt;*/M&gt; RF switch subsystem support ---- [CONFIG_RFKILL]
&lt;*/M&gt; RF switch subsystem support ---- [CONFIG_RFKILL]
-*- Cryptographic API ---&gt;
&lt;*/M*&gt; User-space cryptographic algorithm configuration [CONFIG_CRYPTO_USER]
&lt;*/M*&gt; User-space interface for hash algorithms [CONFIG_CRYPTO_USER_API_HASH]
&lt;*/M*&gt; User-space interface for symmetric key cipher algorithms [CONFIG_CRYPTO_USER_API_SKCIPHER]
&lt;*/M*&gt; MD5 digest algorithm [CONFIG_CRYPTO_MD5]
&lt;*/M*&gt; SHA1 digest algorithm [CONFIG_CRYPTO_SHA1]
Security Options ---&gt;
&lt;*/M*&gt; Diffie-Hellman operations on retained keys [CONFIG_KEY_DH_OPERATIONS]</literal></screen>
Crypto core or helper --- &gt;
&lt;*/M&gt; User-space cryptographic algorithm configuration [CONFIG_CRYPTO_USER]
Block ciphers ---&gt;
&lt;*/M&gt; AES (Advanced Encryption Standard) [CONFIG_CRYPTO_AES]
AEAD (authenticated encryption with associated data) ciphers ---&gt;
&lt;*/M&gt; CCM (Counter with Cipher Block Chaining-MAC) [CONFIG_CRYPTO_CCM]
Hashes, digests, and MACs ---&gt;
&lt;*/M&gt; CMAC (Cipher-based MAC) [CONFIG_CRYPTO_CMAC]
Userspace interface ---&gt;
&lt;*/M&gt; Hash algorithms [CONFIG_CRYPTO_USER_API_HASH]
&lt;*/M&gt; Symmetric key cipher algorithms [CONFIG_CRYPTO_USER_API_SKCIPHER]
&lt;*/M&gt; AEAD cipher algorithms [CONFIG_CRYPTO_USER_API_AEAD]</literal></screen>
<!--
<para>