Re: Question on structures

2010-10-27 Thread Mark Allyn
I am still confused. I have a hardware device whose driver has its own initialization API that accepts the space for its own format for context as well as the mode. Would I use that api for both the algorithm init and the context init as the format of the context is unique to the hardware that

Re: Question on structures

2010-10-25 Thread Herbert Xu
Mark Allyn wrote: > > Folks: > > Perhaps this is due to me being a neophyte . . . > > I notice that some of the structure have two different sets of functions. > > For example, the ahash_alg structure has .init and then .base.cra_init. > What is the difference between the two? cra_init initi

Question on structures

2010-10-25 Thread Mark Allyn
Folks: Perhaps this is due to me being a neophyte . . . I notice that some of the structure have two different sets of functions. For example, the ahash_alg structure has .init and then .base.cra_init. What is the difference between the two? Thanks Truly, Mark Allyn Portland, Oregon www.a