diff options
author | 2019-09-05 09:38:17 +0200 | |
---|---|---|
committer | 2019-09-05 15:18:15 +0200 | |
commit | 9e323d45ba94262620a073a3f9945ca927c07c71 (patch) | |
tree | 25ca70f74555771f9d25d49c7b5d3ace613bd9e1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vfio-ccw: fix error return code in vfio_ccw_sch_init() (diff) | |
download | linux-rng-9e323d45ba94262620a073a3f9945ca927c07c71.tar.xz linux-rng-9e323d45ba94262620a073a3f9945ca927c07c71.zip |
s390/crypto: xts-aes-s390 fix extra run-time crypto self tests finding
With 'extra run-time crypto self tests' enabled, the selftest
for s390-xts fails with
alg: skcipher: xts-aes-s390 encryption unexpectedly succeeded on
test vector "random: len=0 klen=64"; expected_error=-22,
cfg="random: inplace use_digest nosimd src_divs=[2.61%@+4006,
84.44%@+21, 1.55%@+13, 4.50%@+344, 4.26%@+21, 2.64%@+27]"
This special case with nbytes=0 is not handled correctly and this
fix now makes sure that -EINVAL is returned when there is en/decrypt
called with 0 bytes to en/decrypt.
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions