]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
crypto: sun4i-ss - do not dynamically set parts of the last buffer to 0
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Thu, 1 Jun 2017 19:38:57 +0000 (21:38 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 Jun 2017 06:19:50 +0000 (14:19 +0800)
commit7e6df1f7a3a5f379b04eee177be0571beb32b811
tree8fa9e18d5968c6b66fb8b03ebc931043a875bd8b
parent0f52ddaed6500d0b74fcaf5568726068d385129f
crypto: sun4i-ss - do not dynamically set parts of the last buffer to 0

Parts of the bf buffer were dynamically set to 0. Change this to set the
whole buffer to 0 by default to avoid any mistake.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sunxi-ss/sun4i-ss-hash.c