summaryrefslogtreecommitdiff
path: root/crypto/async_tx/async_raid6_recov.c
diff options
context:
space:
mode:
authorCristian Stoica <cristian.stoica@freescale.com>2014-03-18 14:09:57 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-03-28 13:40:30 (GMT)
commitfd67b46ff7ec36d2cd45d03e3a05592c394d6c25 (patch)
tree8d86da651e65f6588b8b76ab925bdfb345c1bfd4 /crypto/async_tx/async_raid6_recov.c
parentfcc5e5274bc78ee6509a029673063b91fd262e32 (diff)
downloadlinux-fsl-qoriq-fd67b46ff7ec36d2cd45d03e3a05592c394d6c25.tar.xz
crypto: tls - reduce helper function arity
This helper function calculates the padded digest and sets the length of the result as a side-effect. Doing more than this increases complexity with no visible advantage. This patch removes a calculation that can be done by the caller. Change-Id: Ifb5ec2b47cde824837065985230a19bdd1f0af88 Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/10081 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Horia Ioan Geanta Neag <horia.geanta@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com> (cherry picked from commit c89e8db964f0c280bd773b4bcc27a156a3e9d871) Reviewed-on: http://git.am.freescale.net:8181/10380 Reviewed-by: Mircea Pop <mircea.pop@freescale.com> Reviewed-by: Alexandru Porosanu <alexandru.porosanu@freescale.com>
Diffstat (limited to 'crypto/async_tx/async_raid6_recov.c')
0 files changed, 0 insertions, 0 deletions