diff options
author | Robert Baronescu <robert.baronescu@nxp.com> | 2017-10-10 13:22:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-20 10:10:26 +0100 |
commit | 6479a108b35857674ca2a74e049e3089d12ee444 (patch) | |
tree | c39fd021bf1dbb0110028b7263e4c2fff8e82852 /crypto/lz4hc.c | |
parent | ade07fa32f5ab083d558199e906d612b5d535553 (diff) | |
download | linux-stable-6479a108b35857674ca2a74e049e3089d12ee444.tar.gz linux-stable-6479a108b35857674ca2a74e049e3089d12ee444.tar.bz2 linux-stable-6479a108b35857674ca2a74e049e3089d12ee444.zip |
crypto: tcrypt - fix buffer lengths in test_aead_speed()
[ Upstream commit 7aacbfcb331ceff3ac43096d563a1f93ed46e35e ]
Fix the way the length of the buffers used for
encryption / decryption are computed.
For e.g. in case of encryption, input buffer does not contain
an authentication tag.
Signed-off-by: Robert Baronescu <robert.baronescu@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions