crypto: cryptd - Use nivcipher in cryptd_alloc_ablkcipher
authorHuang Ying <ying.huang@intel.com>
Sun, 29 Mar 2009 07:33:53 +0000 (15:33 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 2 Jun 2009 04:04:13 +0000 (14:04 +1000)
commit505fd21d6138545aa5e96aa738975e6a9deb98a9
tree878db7596fb24e378d7a0f2f4a933ffb6b5b421d
parent811d8f062668077e268a7292202bb923fe2ae896
crypto: cryptd - Use nivcipher in cryptd_alloc_ablkcipher

Use crypto_alloc_base() instead of crypto_alloc_ablkcipher() to
allocate underlying tfm in cryptd_alloc_ablkcipher. Because
crypto_alloc_ablkcipher() prefer GENIV encapsulated crypto instead of
raw one, while cryptd_alloc_ablkcipher needed the raw one.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cryptd.c