]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2eb47e18457aca7c67ad872a7b26d527967de596
treed882a2df15d939b2edf9064963d73c71c5985b9b
parentb4cd29b9f6dee79512bc2f99e3731ae8c544e576
[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