]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: ahash - Add padding in crypto_ahash_extsize
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 29 Jun 2016 10:03:47 +0000 (18:03 +0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 05:34:36 +0000 (21:34 -0800)
commit178f2d1021e2d6cb9ed20ae9890a799fce9ecea2
treeccb3bd9fbd9f7913d70b894b2025e73fa904bb97
parentc00236bc52cf0450db5627d1b404617c2c6e90ad
crypto: ahash - Add padding in crypto_ahash_extsize

Orabug: 25243093

The function crypto_ahash_extsize did not include padding when
computing the tfm context size.  This patch fixes this by using
the generic crypto_alg_extsize helper.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 2495cf25f60e085b35beb9b215235dfe1ca4f200)
Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
crypto/ahash.c