[CRYPTO] api: Allow algorithm lookup by type
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:35:17 +0000 (11:35 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:35:17 +0000 (11:35 +1000)
commit492e2b63eb10c28f4f0b694264d74a8755cd1be0
treed882a2df15d939b2edf9064963d73c71c5985b9b
parent2b8c19dbdc692e81243a328725a02efb77b144a5
[CRYPTO] api: Allow algorithm lookup by type

This patch also adds the infrastructure to pick an algorithm based on
their type.  For example, this allows you to select the encryption
algorithm "aes", instead of any algorithm registered under the name
"aes".  For now this is only accessible internally.  Eventually it
will be made available through crypto_alloc_tfm.

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