]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] api: Add support for multiple template parameters
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 29 Aug 2007 11:27:26 +0000 (19:27 +0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:40 +0000 (16:55 -0700)
commit0c425c5d6f752d5a26cab36bdec409535642e7c0
tree0689571972f9678f93cec8bd7f3dac2934c5bc59
parenta1c6dc1f9d4750bef5c0ebc84cb267361dd74ae7
[CRYPTO] api: Add support for multiple template parameters

This patch adds support for having multiple parameters to
a template, separated by a comma.  It also adds support
for integer parameters in addition to the current algorithm
parameter type.

This will be used by the authenc template which will have
four parameters: the authentication algorithm, the encryption
algorithm, the authentication size and the encryption key
length.

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