]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] hmac: Add crypto template implementation
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Aug 2006 10:50:52 +0000 (20:50 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:46:17 +0000 (11:46 +1000)
commite09b92cac96d16cbe1fc1a6e7a8d1159507fd801
tree83832b65f93f2979483640d994d72f8b37860701
parent0630fcd67d20aff2e720cf74545ef5c9178b3b66
[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>
crypto/Kconfig
crypto/hmac.c