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

From: Herbert Xu
Date: Fri Mar 27 2009 - 04:32:41 EST


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_ablkcipher needed the raw one.
>
> Signed-off-by: Huang Ying <ying.huang@xxxxxxxxx>

Could you tell me why it has to be raw?

Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/