]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] api: Add common instance initialisation code
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 6 Aug 2006 13:10:45 +0000 (23:10 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:41:04 +0000 (11:41 +1000)
commitc6ab45edfe71ded4a0ce52059401a3b67ce43d7f
tree29a1244ed286c500bf64afcef0c571e771ed0cd5
parent14116d683136082a107f8d93a088ae168ff2e769
[CRYPTO] api: Add common instance initialisation code

This patch adds the helpers crypto_get_attr_alg and crypto_alloc_instance
which can be used by simple one-argument templates like hmac to process
input parameters and allocate instances.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algapi.c
include/crypto/algapi.h