Security: Keys: Big keys stored encrypted
Subsystems (2)
PATCH v2 1/1 Security: Keys: Big keys stored encrypted
Solved TODO task: big keys saved to shmem file are now stored encrypted. The encryption key is randomly generated and saved to payload[big_key_data].
Signed-off-by Kirill Marinushkin <[email protected]>
--- security/keys/Kconfig | 4 + security/keys/big_key.c | 198 +++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 184 insertions(+), 18 deletions(-)
security/keys/Kconfig +4 -0
@@ -41,6 +41,10 @@ config BIG_KEYS bool "Large payload keys" depends on KEYS depends on TMPFS + select CRYPTO + select CRYPTO_AES + select CRYPTO_ECB + select CRYPTO_RNG help This option provides support for holding large keys within the kernel (for example Kerberos ticket caches). The data may be stored out to
security/keys/big_key.c +180 -18
297 lines not on this page · raw message
Signature · 1 line
1.9.1
Quoted 4 lines · Kirill Marinushkin
Solved TODO task: big keys saved to shmem file are now stored encrypted. The encryption key is randomly generated and saved to payload[big_key_data].
Signed-off-by Kirill Marinushkin <[email protected]>
Applied.
David