]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - crypto/tcrypt.c
crypto: tcrypt - fix buffer lengths in test_aead_speed()
authorRobert Baronescu <robert.baronescu@nxp.com>
Tue, 10 Oct 2017 10:22:00 +0000 (13:22 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Nov 2017 13:50:47 +0000 (21:50 +0800)
commit7aacbfcb331ceff3ac43096d563a1f93ed46e35e
treee9f361deefc50f460b2119afaf055ed74562eb7d
parent59517226a35a4041e41d114d085846ac94ebfbf2
crypto: tcrypt - fix buffer lengths in test_aead_speed()

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>
crypto/tcrypt.c