Linux kernel source tree
Go to file
Eric Biggers 878a2fd9de FROMGIT: dm crypt: log the encryption algorithm implementation
Log the encryption algorithm's driver name when a dm-crypt target is
created.  This will help people determine whether the expected
implementation is being used.  In some cases we've seen people do
benchmarks and reject using encryption for performance reasons, when in
fact they used a much slower implementation than was possible on the
hardware.  It can make an enormous difference; e.g., AES-XTS on ARM can
be over 10x faster with the crypto extensions than without.  It can also
be useful to know if an implementation using an external crypto
accelerator is being used instead of a software implementation.

Example message:

[   29.307629] device-mapper: crypt: xts(aes) using implementation "xts-aes-ce"

We've already found the similar message in fs/crypto/keyinfo.c to be
very useful.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>

(cherry picked from commit 32bbca787931a371256ac51219a6e9c9dbc86960
 https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next)
Test: Verified that the message is logged when dm-crypt is used.
Change-Id: I20857a5350266431924e177dea50418aeb95009d
Signed-off-by: Eric Biggers <ebiggers@google.com>
2018-12-18 10:48:49 -08:00
arch This is the 4.19.10 stable release 2018-12-17 09:39:43 +01:00
block blk-mq: punt failed direct issue to dispatch list 2018-12-08 12:59:10 +01:00
certs export.h: remove VMLINUX_SYMBOL() and VMLINUX_SYMBOL_STR() 2018-08-22 23:21:44 +09:00
crypto This is the 4.19.9 stable release 2018-12-13 09:22:58 +01:00
Documentation ANDROID: sched: Clean-up SchedTune documentation 2018-12-17 18:39:40 +00:00
drivers FROMGIT: dm crypt: log the encryption algorithm implementation 2018-12-18 10:48:49 -08:00
firmware kbuild: remove all dummy assignments to obj- 2017-11-18 11:46:06 +09:00
fs This is the 4.19.10 stable release 2018-12-17 09:39:43 +01:00
include ANDROID: sched/events: Fix out of bound memory access 2018-12-17 09:50:30 +00:00
init This is the 4.19.10 stable release 2018-12-17 09:39:43 +01:00
ipc ANDROID: vfs: Add permission2 for filesystems with per mount permissions 2018-12-05 09:48:14 -08:00
kernel This is the 4.19.10 stable release 2018-12-17 09:39:43 +01:00
lib This is the 4.19.10 stable release 2018-12-17 09:39:43 +01:00
LICENSES LICENSES: Remove CC-BY-SA-4.0 license text 2018-10-18 11:28:50 +02:00
mm This is the 4.19.10 stable release 2018-12-17 09:39:43 +01:00
net This is the 4.19.10 stable release 2018-12-17 09:39:43 +01:00
samples samples: disable CONFIG_SAMPLES for UML 2018-10-11 02:15:46 +09:00
scripts This is the 4.19.8 stable release 2018-12-08 13:24:30 +01:00
security This is the 4.19.8 stable release 2018-12-08 13:24:30 +01:00
sound ALSA: hda/realtek - Fix the mute LED regresion on Lenovo X1 Carbon 2018-12-17 09:24:42 +01:00
tools bpf: fix off-by-one error in adjust_subprog_starts 2018-12-17 09:24:42 +01:00
usr initramfs: move gen_initramfs_list.sh from scripts/ to usr/ 2018-08-22 23:21:44 +09:00
virt KVM: arm64: Fix caching of host MDCR_EL2 value 2018-11-13 11:08:47 -08:00
.clang-format clang-format: Set IndentWrappedFunctionNames false 2018-08-01 18:38:51 +02:00
.cocciconfig
.get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files 2016-10-07 18:46:30 -07:00
.gitignore Kbuild updates for v4.17 (2nd) 2018-04-15 17:21:30 -07:00
.mailmap libnvdimm-for-4.19_misc 2018-08-25 18:13:10 -07:00
build.config.cuttlefish.aarch64 ANDROID: Move from clang r328903 to r346389b. 2018-12-07 11:52:07 -08:00
build.config.cuttlefish.x86_64 ANDROID: Move from clang r328903 to r346389b. 2018-12-07 11:52:07 -08:00
COPYING COPYING: use the new text with points to the license files 2018-03-23 12:41:45 -06:00
CREDITS 9p: remove Ron Minnich from MAINTAINERS 2018-08-17 16:20:26 -07:00
Kbuild Kbuild updates for v4.15 2017-11-17 17:45:29 -08:00
Kconfig kconfig: move the "Executable file formats" menu to fs/Kconfig.binfmt 2018-08-02 08:06:55 +09:00
MAINTAINERS MAINTAINERS: Add Sasha as a stable branch maintainer 2018-12-01 09:37:25 +01:00
Makefile This is the 4.19.10 stable release 2018-12-17 09:39:43 +01:00
README Docs: Added a pointer to the formatted docs to README 2018-03-21 09:02:53 -06:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.