diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-12-14 00:28:40 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-11 08:16:54 +1100 |
commit | a171250096d03fa8fd76eb019fb488950cd28162 (patch) | |
tree | cb18ecc4a7df8c1b9ed569b5efcaee8612c64f96 /crypto | |
parent | 24f662d13e39426de8985bd60cf7610a656b4e3e (diff) | |
download | linux-crypto-a171250096d03fa8fd76eb019fb488950cd28162.tar.gz linux-crypto-a171250096d03fa8fd76eb019fb488950cd28162.zip |
[CRYPTO] null: Allow setkey on digest_null
We need to allow setkey on digest_null if it is to be used directly by
authenc instead of through hmac.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r-- | crypto/crypto_null.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/crypto_null.c b/crypto/crypto_null.c index fc2d2a4d..ff7b3de1 100644 --- a/crypto/crypto_null.c +++ b/crypto/crypto_null.c @@ -98,6 +98,7 @@ static struct crypto_alg digest_null = { .cra_list = LIST_HEAD_INIT(digest_null.cra_list), .cra_u = { .digest = { .dia_digestsize = NULL_DIGEST_SIZE, + .dia_setkey = null_setkey, .dia_init = null_init, .dia_update = null_update, .dia_final = null_final } } |