Re: [PATCH]crypto: Fix algorithm and driver duplicate registered

From: Youquan,Song
Date: Mon Nov 23 2009 - 05:11:26 EST


On Thu, Nov 19, 2009 at 07:47:30PM +0800, Herbert Xu wrote:
> On Thu, Nov 19, 2009 at 06:02:22AM -0500, Youquan,Song wrote:
> >
> > I have watched crypto_alg_list includes several duplicate algorithms
> > with same algorithm name and driver name.
> > Since they are the same algorithms, one is only needed. otherwise,it
> > will make some confusion.
>

Hi Herbert,

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.
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.

-Youquan
--
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/