OSDN Git Service

crypto: stm32/hash - rework padding length
authorLionel Debieve <lionel.debieve@st.com>
Mon, 29 Jan 2018 14:28:11 +0000 (15:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 Feb 2018 15:26:55 +0000 (23:26 +0800)
commitd03d29bd1857b2d0e3aecdfe514ec0fc38390b24
tree1cc94287bbd5652864bd5619350bc34a91e1b336
parentff1cae4e7f50e7d2da4343be4c0b411b5d564bc1
crypto: stm32/hash - rework padding length

Due to another patch, the dma fails when padding is
needed as the given length is not correct.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/stm32/stm32-hash.c