Re: [PATCH 1/3] crypto: Fix tfm allocation in cryptd_alloc_ablkcipher

2009-03-27 Thread Herbert Xu
On Thu, Mar 05, 2009 at 10:25:20AM +0800, Huang Ying wrote: > 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_ablkciphe

[PATCH 1/3] crypto: Fix tfm allocation in cryptd_alloc_ablkcipher

2009-03-04 Thread Huang Ying
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 --- crypto/crypt