summaryrefslogtreecommitdiffstats
path: root/crypto/cts.c
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2014-12-08 12:03:42 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2014-12-22 23:02:41 +1100
commit0f477b655a524515ec9a263d70d51f460c05a161 (patch)
tree5cfb69e0ac66a1edcfe7eb10cb1b6d7a131a9c8a /crypto/cts.c
parent2d2ec0642a85966b6a299bbcd94707982327ace8 (diff)
downloadlinux-0f477b655a524515ec9a263d70d51f460c05a161.tar.bz2
crypto: algif - Mark sgl end at the end of data
algif_skcipher sends 127 sgl buffers for encryption regardless of how many buffers acctually have data to process, where the few first with valid len and the rest with zero len. This is not very eficient. This patch marks the last one with data as the last one to process. Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions