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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Jul 2016 15:45:03 +0000 (23:45 +0800)
commit2495cf25f60e085b35beb9b215235dfe1ca4f200
tree4289c1aa25ed0128814391bba655281741a11b84
parent927ef32dccfe6e048a163138b8e714b2d944194d
crypto: ahash - Add padding in crypto_ahash_extsize

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>
crypto/ahash.c