KEYS: encrypted: Remove unnecessary selection of CRYPTO_RNG
Subsystems (2)
PATCH 1/1 KEYS: encrypted: Remove unnecessary selection of CRYPTO_RNG
encrypted-keys uses the regular Linux RNG (get_random_bytes()), not the duplicative crypto_rng one. So it does not need to select CRYPTO_RNG.
---
This patch is targeting the keyrings tree
security/keys/Kconfig | 1 - 1 file changed, 1 deletion(-)
security/keys/Kconfig +0 -1
@@ -85,11 +85,10 @@ config ENCRYPTED_KEYS tristate "ENCRYPTED KEYS" select CRYPTO select CRYPTO_AES select CRYPTO_CBC select CRYPTO_LIB_SHA256 - select CRYPTO_RNG help This option provides support for create/encrypting/decrypting keys in the kernel. Encrypted keys are instantiated using kernel generated random numbers or provided decrypted data, and are encrypted/decrypted with a 'master' symmetric key. The 'master'
base-commit: 113ae7b4decc6c2d95bdbbe52e615a0137ef7f9f
Signature · 1 line
2.53.0
Hi Eric,
Quoted 4 lines · Eric Biggers
encrypted-keys uses the regular Linux RNG (
get_random_bytes()), not the duplicativecrypto_rngone. So it does not need to selectCRYPTO_RNG.Signed-off-by Eric Biggers <[email protected]>
Quoted 3 lines
---
This patch is targeting the keyrings tree
Not sure what you mean by targeting the keyrings tree. I can definitely queue it.
Quoted 22 lines
security/keys/Kconfig | 1 - 1 file changed, 1 deletion(-)security/keys/Kconfig +0
-1@@ -85,11 +85,10 @@ config ENCRYPTED_KEYS tristate "ENCRYPTED KEYS" select CRYPTO select CRYPTO_AES select CRYPTO_CBC select CRYPTO_LIB_SHA256 - select CRYPTO_RNG help This option provides support for create/encrypting/decrypting keys in the kernel. Encrypted keys are instantiated using kernel generated random numbers or provided decrypted data, and are encrypted/decrypted with a 'master' symmetric key. The 'master'base-commit:
113ae7b4decc6c2d95bdbbe52e615a0137ef7f9f
Quoted 8 lines · Mimi Zohar
Hi Eric,
Quoted 4 lines · Eric Biggers
encrypted-keys uses the regular Linux RNG (
get_random_bytes()), not the duplicativecrypto_rngone. So it does not need to selectCRYPTO_RNG.Signed-off-by Eric Biggers <[email protected]>
Quoted 8 lines
Reviewed-by Mimi Zohar <[email protected]>Quoted 3 lines
---
This patch is targeting the keyrings tree
Not sure what you mean by targeting the keyrings tree. I can definitely queue it.
Last time I sent a patch for encrypted-keys, Jarkko took it. If you'd like to take it instead, that's fine with me. As long as someone does it. Thanks,
- Eric
Quoted 13 lines · Eric Biggers
Quoted 12 lines · Mimi Zohar
Hi Eric,
Quoted 4 lines · Eric Biggers
encrypted-keys uses the regular Linux RNG (
get_random_bytes()), not the duplicativecrypto_rngone. So it does not need to selectCRYPTO_RNG.Signed-off-by Eric Biggers <[email protected]>Reviewed-by Mimi Zohar <[email protected]>Quoted 2 lines
---
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
This patch is targeting the keyrings tree
Not sure what you mean by targeting the keyrings tree. I can definitely queue it.
Last time I sent a patch for encrypted-keys, Jarkko took it. If you'd like to take it instead, that's fine with me. As long as someone does it. Thanks,
Anyone planning to take this? It's not in linux-next yet.
- Eric
Jarkko Sakkinen
maintainerQuoted 38 lines · Mimi Zohar
Hi Eric,
Quoted 4 lines · Eric Biggers
encrypted-keys uses the regular Linux RNG (
get_random_bytes()), not the duplicativecrypto_rngone. So it does not need to selectCRYPTO_RNG.Signed-off-by Eric Biggers <[email protected]>Reviewed-by Mimi Zohar <[email protected]>Quoted 3 lines
---
This patch is targeting the keyrings tree
Not sure what you mean by targeting the keyrings tree. I can definitely queue it.
Quoted 21 lines
security/keys/Kconfig | 1 - 1 file changed, 1 deletion(-)security/keys/Kconfig +0
-1@@ -85,11 +85,10 @@ config ENCRYPTED_KEYS tristate "ENCRYPTED KEYS" select CRYPTO select CRYPTO_AES select CRYPTO_CBC select CRYPTO_LIB_SHA256 - select CRYPTO_RNG help This option provides support for create/encrypting/decrypting keys in the kernel. Encrypted keys are instantiated using kernel generated random numbers or provided decrypted data, and are encrypted/decrypted with a 'master' symmetric key. The 'master'
Quoted 1 line
Quoted 1 line
base-commit:
113ae7b4decc6c2d95bdbbe52e615a0137ef7f9f
I applied this.
BR, Jarkko
Jarkko Sakkinen
maintainerQuoted 16 lines · Eric Biggers
Quoted 15 lines · Eric Biggers
Quoted 14 lines · Mimi Zohar
Hi Eric,
Quoted 4 lines · Eric Biggers
encrypted-keys uses the regular Linux RNG (
get_random_bytes()), not the duplicativecrypto_rngone. So it does not need to selectCRYPTO_RNG.Signed-off-by Eric Biggers <[email protected]>Reviewed-by Mimi Zohar <[email protected]>Quoted 3 lines
---
This patch is targeting the keyrings tree
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Not sure what you mean by targeting the keyrings tree. I can definitely queue it.
Last time I sent a patch for encrypted-keys, Jarkko took it. If you'd like to take it instead, that's fine with me. As long as someone does it. Thanks,
Anyone planning to take this? It's not in linux-next yet.
It has been holiday season but I applied it. Later today I'll update my next branch.
Quoted 2 lines
- Eric
BR, Jarkko