kernel_optimize_test/fs/crypto
Theodore Ts'o fe4f6c801c fscrypt: fix the test_dummy_encryption mount option
Commit f1c131b45410a: "crypto: xts - Convert to skcipher" now fails
the setkey operation if the AES key is the same as the tweak key.
Previously this check was only done if FIPS mode is enabled.  Now this
check is also done if weak key checking was requested.  This is
reasonable, but since we were using the dummy key which was a constant
series of 0x42 bytes, it now caused dummy encrpyption test mode to
fail.

Fix this by using 0x42... and 0x24... for the two keys, so they are
different.

Fixes: f1c131b454
Cc: stable@vger.kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2016-12-27 19:46:27 -05:00
..
crypto.c fscrypt: Rename FS_WRITE_PATH_FL to FS_CTX_HAS_BOUNCE_BUFFER_FL 2016-12-11 16:33:18 -05:00
fname.c fscrypt: rename get_crypt_info() to fscrypt_get_crypt_info() 2016-12-11 16:26:08 -05:00
fscrypt_private.h fscrypt: Rename FS_WRITE_PATH_FL to FS_CTX_HAS_BOUNCE_BUFFER_FL 2016-12-11 16:33:18 -05:00
Kconfig fscrypto: remove unneeded Kconfig dependencies 2016-12-11 16:26:07 -05:00
keyinfo.c fscrypt: fix the test_dummy_encryption mount option 2016-12-27 19:46:27 -05:00
Makefile
policy.c fscrypt: move non-public structures and constants to fscrypt_private.h 2016-12-11 16:26:09 -05:00