]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccree - simplify AEAD ICV addr calculation
authorGilad Ben-Yossef <gilad@benyossef.com>
Thu, 18 Apr 2019 13:38:58 +0000 (16:38 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2019 07:38:15 +0000 (15:38 +0800)
commit2964719d9bef11e7ab0d1079a3ea68700c61476e
tree49d95d4ab4fd87cabfae1a328d7451afcf05d0ea
parent38535ff3657096a144476da07b996b6df27bca3f
crypto: ccree - simplify AEAD ICV addr calculation

The function cc_prepare_aead_data_dlli() which calculates ICV addresses
was needlessly complicate it. This patch simplifies it without altering
its functionality.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_buffer_mgr.c