n2_crypto: Make ahash parameterization explicit.
authorDavid S. Miller <davem@davemloft.net>
Sat, 22 May 2010 09:45:56 +0000 (02:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 May 2010 00:37:17 +0000 (17:37 -0700)
commit3a2c034697558602a72e51897c6d3665bc515927
tree709351d059760824a705c82a72e1f2d95a46bc40
parent38511108a37e5551b2bfe143a957132d46f9e6e7
n2_crypto: Make ahash parameterization explicit.

All of the ahash ->digest() ops do essentially the same thing, just
using different parameters.

So instead, have a single n2_hash_async_digest() and use an
n2_ahash_alg container that provides the parameters.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/n2_core.c