On Fri, Jun 22, 2007 at 08:37:31PM +0800, Herbert Xu ([EMAIL PROTECTED]) wrote:
> On Fri, Jun 22, 2007 at 03:58:59PM +0400, Evgeniy Polyakov wrote:
> >
> > > 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.
> > 
> > crypto_alg does not contain it, or do I miss something?
> 
> You're right that it's not there as such.  However, there's
> nothing stopping you from allocating struct crypto_alg + ctx
> and putting your pointer there.

Argh, I understand now. I will create an access wrapper in HIFN driver
for such access for now, if there will be some API changes it will be
possible to rewrite.

-- 
        Evgeniy Polyakov
-
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