On Tue, Jun 05, 2007 at 07:02:45PM +0400, Evgeniy Polyakov wrote:
> 
> Herbert, could you please elaborate how to provide a private pointer
> into cra_init without searching via static lists of all devices?

The crypto_alg object should contain a back pointer to the device.
In setkey, you have access to a tfm object which has a pointer to
the crypto_alg object.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
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-crypto" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to