diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-08-20 01:25:22 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-09-20 21:46:20 -0400 |
commit | 8425165dfed27945e8509c141cea245d1739e372 (patch) | |
tree | c2a05344993a52bb317bb320a97d0566f3d277bf /crypto/digest.c | |
parent | 878b9014666217555d16073764f30e825cf18d2f (diff) |
[CRYPTO] digest: Remove old HMAC implementation
This patch removes the old HMAC implementation now that nobody uses it
anymore.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/digest.c')
-rw-r--r-- | crypto/digest.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/digest.c b/crypto/digest.c index 5873063db840..0155a94e4b15 100644 --- a/crypto/digest.c +++ b/crypto/digest.c | |||
@@ -191,10 +191,9 @@ int crypto_init_digest_ops(struct crypto_tfm *tfm) | |||
191 | ops->setkey = dalg->dia_setkey ? setkey : nosetkey; | 191 | ops->setkey = dalg->dia_setkey ? setkey : nosetkey; |
192 | ops->digestsize = dalg->dia_digestsize; | 192 | ops->digestsize = dalg->dia_digestsize; |
193 | 193 | ||
194 | return crypto_alloc_hmac_block(tfm); | 194 | return 0; |
195 | } | 195 | } |
196 | 196 | ||
197 | void crypto_exit_digest_ops(struct crypto_tfm *tfm) | 197 | void crypto_exit_digest_ops(struct crypto_tfm *tfm) |
198 | { | 198 | { |
199 | crypto_free_hmac_block(tfm); | ||
200 | } | 199 | } |