crypto: api - Add new style spawn support
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 8 Jul 2009 07:55:52 +0000 (15:55 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 8 Jul 2009 10:57:10 +0000 (18:57 +0800)
commit97eedce1a64a57648ac5e39f03825528c47ba72e
tree5dea863a2b51b01b8e436d4e395ef15ae3f4bcd9
parent2e4fddd8e420e8f531a34e7a97f9cdb851a6ad13
crypto: api - Add new style spawn support

This patch modifies the spawn infrastructure to support new style
algorithms like shash.  In particular, this means storing the
frontend type in the spawn and using crypto_create_tfm to allocate
the tfm.

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