kernel_optimize_test/arch/s390
Eric Biggers af5034e8e4 crypto: remove propagation of CRYPTO_TFM_RES_* flags
The CRYPTO_TFM_RES_* flags were apparently meant as a way to make the
->setkey() functions provide more information about errors.  But these
flags weren't actually being used or tested, and in many cases they
weren't being set correctly anyway.  So they've now been removed.

Also, if someone ever actually needs to start better distinguishing
->setkey() errors (which is somewhat unlikely, as this has been unneeded
for a long time), we'd be much better off just defining different return
values, like -EINVAL if the key is invalid for the algorithm vs.
-EKEYREJECTED if the key was rejected by a policy like "no weak keys".
That would be much simpler, less error-prone, and easier to test.

So just remove CRYPTO_TFM_RES_MASK and all the unneeded logic that
propagates these flags around.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-01-09 11:30:53 +08:00
..
appldata
boot s390/kaslr: store KASLR offset for early dumps 2019-11-30 10:52:45 +01:00
configs
crypto crypto: remove propagation of CRYPTO_TFM_RES_* flags 2020-01-09 11:30:53 +08:00
hypfs
include powerpc updates for 5.5 #2 2019-12-06 13:36:31 -08:00
kernel s390 updates for the 5.5 merge window #2 2019-12-03 12:50:00 -08:00
kvm
lib s390/test_unwind: add program check context tests 2019-11-30 10:52:48 +01:00
mm s390: disable preemption when switching to nodat stack with CALL_ON_STACK 2019-11-30 10:52:45 +01:00
net
numa
oprofile
pci pci-v5.5-changes 2019-12-03 13:58:22 -08:00
purgatory
scripts
tools
Kbuild
Kconfig s390: remove compat vdso code 2019-12-01 12:48:49 +01:00
Kconfig.debug
Makefile s390: remove compat vdso code 2019-12-01 12:48:49 +01:00