ceph: add infrastructure for file encryption and decryption
authorJeff Layton <jlayton@kernel.org>
Thu, 25 Aug 2022 13:31:14 +0000 (09:31 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 24 Aug 2023 09:24:35 +0000 (11:24 +0200)
commit77cdb7e17e39ebb986f60bbd3c2b3507687bf475
tree9006055ae5656d68bc59bce15f030a756cf5eeab
parent0d91f0ad6a01c8c64a84c5255c5ab95133d0fed5
ceph: add infrastructure for file encryption and decryption

...and allow test_dummy_encryption to bypass content encryption
if mounted with test_dummy_encryption=clear.

[ xiubli: remove test_dummy_encryption=clear support per Ilya ]

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-and-tested-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/crypto.c
fs/ceph/crypto.h