[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)
commit39e1ee011f42dbbcb0210c73ea728ae54cf63b06
tree0689571972f9678f93cec8bd7f3dac2934c5bc59
parent1ae978208e2ee9ba1b01d309164bc5e590cd242d
[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