[CRYPTO] api: Rename crypto_alg_get to crypto_mod_get
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 27 May 2006 23:05:24 +0000 (09:05 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:16:29 +0000 (11:16 +1000)
commit72fa491912689ca69dd15f4266945d2c2f2819f8
treec117b6ccdd08c73694261aac0b7f43fdf27c861c
parenteaf44088ff467410dd15a033fef118888002ffe6
[CRYPTO] api: Rename crypto_alg_get to crypto_mod_get

The functions crypto_alg_get and crypto_alg_put operates on the crypto
modules rather than the algorithms.  Therefore it makes sense to call
them crypto_mod_get and crypto_alg_put respectively.

This is needed because we need to have real algorithm reference counters
for parameterised algorithms as they can be unregistered from below by
when their parameter algorithms are themselves unregistered.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
crypto/api.c