summaryrefslogtreecommitdiff
path: root/crypto/pcbc.c
diff options
context:
space:
mode:
authorRobert Baronescu <robert.baronescu@nxp.com>2017-10-10 13:21:59 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-29 16:43:40 +1100
commita49015cc37749055b7fd3415c322be7c63b71422 (patch)
treeed5cd94f144caeef6b6278d88aa0ef6a0de7290a /crypto/pcbc.c
parent2bc89034e4e02fff5b5375dd7ecff41dd0e0f3eb (diff)
downloadlinux-crypto-a49015cc37749055b7fd3415c322be7c63b71422.tar.gz
linux-crypto-a49015cc37749055b7fd3415c322be7c63b71422.zip
crypto: tcrypt - fix S/G table for test_aead_speed()
In case buffer length is a multiple of PAGE_SIZE, the S/G table is incorrectly generated. Fix this by handling buflen = k * PAGE_SIZE separately. Signed-off-by: Robert Baronescu <robert.baronescu@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/pcbc.c')
0 files changed, 0 insertions, 0 deletions