commit | 0796ae061e6da5de7cfc1af57dfd42a73908b1bf | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Mon Aug 21 20:50:52 2006 +1000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Sep 21 11:46:17 2006 +1000 |
tree | 83832b65f93f2979483640d994d72f8b37860701 | |
parent | 055bcee3102dc35f019b69df9c2618e9d6dd1c09 [diff] |
[CRYPTO] hmac: Add crypto template implementation This patch rewrites HMAC as a crypto template. This means that HMAC is no longer a hard-coded part of the API. It's now a template that generates standard digest algorithms like any other. The old HMAC is preserved until all current users are converted. The same structure can be used by other MACs such as AES-XCBC-MAC. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>