kernel_optimize_test/fs/ext4
Michael Halcrow b30ab0e034 ext4 crypto: add ext4 encryption facilities
On encrypt, we will re-assign the buffer_heads to point to a bounce
page rather than the control_page (which is the original page to write
that contains the plaintext). The block I/O occurs against the bounce
page.  On write completion, we re-assign the buffer_heads to the
original plaintext page.

On decrypt, we will attach a read completion callback to the bio
struct. This read completion will decrypt the read contents in-place
prior to setting the page up-to-date.

The current encryption mode, AES-256-XTS, lacks cryptographic
integrity. AES-256-GCM is in-plan, but we will need to devise a
mechanism for handling the integrity data.

Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Signed-off-by: Ildar Muslukhov <ildarm@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2015-04-12 00:43:56 -04:00
..
acl.c
acl.h
balloc.c
bitmap.c
block_validity.c
crypto_policy.c ext4 crypto: add ext4 encryption facilities 2015-04-12 00:43:56 -04:00
crypto.c ext4 crypto: add ext4 encryption facilities 2015-04-12 00:43:56 -04:00
dir.c
ext4_crypto.h ext4 crypto: add ext4 encryption facilities 2015-04-12 00:43:56 -04:00
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h
ext4.h ext4 crypto: add ext4 encryption facilities 2015-04-12 00:43:56 -04:00
extents_status.c
extents_status.h
extents.c
file.c
fsync.c
hash.c
ialloc.c
indirect.c
inline.c
inode.c
ioctl.c ext4 crypto: add encryption policy and password salt support 2015-04-11 07:48:01 -04:00
Kconfig ext4 crypto: add ext4 encryption Kconfig 2015-04-11 07:46:47 -04:00
Makefile ext4 crypto: add ext4 encryption facilities 2015-04-12 00:43:56 -04:00
mballoc.c
mballoc.h
migrate.c
mmp.c
move_extent.c
namei.c ext4 crypto: export ext4_empty_dir() 2015-04-11 07:46:49 -04:00
page-io.c
readpage.c
resize.c
super.c ext4 crypto: add ext4 encryption facilities 2015-04-12 00:43:56 -04:00
symlink.c
truncate.h
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c
xattr.h ext4 crypto: add encryption xattr support 2015-04-11 07:47:00 -04:00