Messages in this thread | | | Date | Mon, 23 Nov 2009 19:31:26 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH]crypto: Fix algorithm and driver duplicate registered |
| |
On Mon, Nov 23, 2009 at 12:47:24PM -0500, Youquan,Song wrote: > > The alg->cra_name and alg->cra_driver_name, from the description, > cra_name is the algorithm name and cra_driver_name is the driver name.
For each algorithm you may have an arbitrary number of drivers implementing it. The driver name must be unique. However, duplicates are allowed so that a new version of a driver may be loaded while the older instances of it are still in use.
> But when I read the code, I often get confuse about these two names. > They often mix each other. > > Can you give me some instruction about them? or Can we make them more clear? Thanks.
Well can you tell me what exactly confuses you?
Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |