kernel-config: Adjust config needed by keyutils test

CRYPTO_DH is automatically set if KEY_DH_OPERATIONS is set, so there is
no need to mention it.  CRYPTO_LIB_CHACHA20POLY1305 is needed to be y
or BIG_KEYS won't show up.
This commit is contained in:
Xi Ruoyao 2024-02-03 19:23:10 +08:00
parent cd45da767f
commit 20aab88f91
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
3 changed files with 16 additions and 5 deletions

View File

@ -9,10 +9,15 @@
[*] <emphasis role='blue'>D</emphasis>iffie-Hellman operations on retained keys [KEY_DH_OPERATIONS]
-*- <emphasis role='blue'>C</emphasis>ryptographic API ---&gt; [CRYPTO]
<emphasis role='blue'>P</emphasis>ublic-key cryptography ---&gt;
&lt;*/M&gt; <emphasis role='blue'>D</emphasis>H (Diffie-Hellman) [CRYPTO_DH]
<emphasis role='blue'>C</emphasis>ertificates for signature checking ---&gt;
[*] <emphasis role='blue'>P</emphasis>rovide system-wide ring of trusted keys [SYSTEM_TRUSTED_KEYRING]
[*] <emphasis role='blue'>P</emphasis>rovide a keyring to which extra trustable keys may be added
... [SECONDARY_TRUSTED_KEYRING]
[*] <emphasis role='blue'>P</emphasis>rovide system-wide ring of blacklisted keys [SYSTEM_BLACKLIST_KEYRING]</screen>
[*] <emphasis role='blue'>P</emphasis>rovide system-wide ring of blacklisted keys [SYSTEM_BLACKLIST_KEYRING]
<emphasis role='blue'>L</emphasis>ibrary routines ---&gt;
<emphasis role='blue'>C</emphasis>rypto library routines ---&gt;
# If not built into the kernel, [BIG_KEYS] won't show up;
# building as a module won't work:
&lt;*&gt; <emphasis role='blue'>C</emphasis>haCha20-Poly1305 AEAD support (8-byte nonce library version)
... [CRYPTO_LIB_CHACHA20POLY1305]</screen>

View File

@ -2,7 +2,13 @@ BIG_KEYS='*'
KEYS='*'
KEY_DH_OPERATIONS='*'
CRYPTO = { value = '*', forced = '*' }
CRYPTO_DH='*M'
SYSTEM_TRUSTED_KEYRING='*'
SECONDARY_TRUSTED_KEYRING='*'
SYSTEM_BLACKLIST_KEYRING='*'
[CRYPTO_LIB_CHACHA20POLY1305]
value = '*'
comment = [
"If not built into the kernel, [BIG_KEYS] won't show up;",
"building as a module won't work"
]

View File

@ -1 +1 @@
6.7.1
6.7.3