crypto: api - Include alignment in crypto_alg_extsize
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 May 2015 14:07:56 +0000 (22:07 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 3 Jun 2015 02:48:34 +0000 (10:48 +0800)
commitc2110f28341cec2ecfd9474db15ac090bce1234c
treeda177b90712ab7ea057b4945350fa01a7f89ac4c
parent5c98d62059faf7c59211cb591da671eaac7b7c3c
crypto: api - Include alignment in crypto_alg_extsize

This patch ensures that the tfm context always has enough extra
memory to ensure that it is aligned according to cra_alignment.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algapi.c