crypto: api - Add crypto_alloc_instance2
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 7 Jul 2009 06:07:37 +0000 (14:07 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 7 Jul 2009 10:55:28 +0000 (18:55 +0800)
This patch adds a new argument to crypto_alloc_instance which
sets aside some space before the instance for use by algorithms
such as shash that place type-specific data before crypto_alg.

For compatibility the function has been renamed so that existing
users aren't affected.

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

No differences found