[HIFN]: Use unique driver names for different algos
authorPatrick McHardy <kaber@trash.net>
Wed, 7 May 2008 14:35:07 +0000 (22:35 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jul 2008 12:35:11 +0000 (20:35 +0800)
commit281d6bd45385c689e7c03c9ff2434c143971682d
treee29da5a132baa3c1c45739801cb26225415499f0
parent136f702f51a4bfa38003660768e7153823fff8a1
[HIFN]: Use unique driver names for different algos

When the CryptoAPI instantiates a new algorithm, it performs a lookup
by driver name. Since hifn uses the same name for all modes of one
algorithm, the lookup may return an incorrect algorithm.

Change the name to use <mode>-<algo>-<devicename> to provide unique
names for the different combinations and devices.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hifn_795x.c