Re: [PATCH 7/8] digest: add HMAC support for md5, sha1, sha224, sha256, sha384, sha512

2015-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:17 Thu 12 Mar , Sascha Hauer wrote: On Wed, Mar 11, 2015 at 05:53:08PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: the hmac algo will be registered as hmac(%s) such as hmac(sha256) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- +static int

Re: [PATCH 7/8] digest: add HMAC support for md5, sha1, sha224, sha256, sha384, sha512

2015-03-12 Thread Sascha Hauer
On Wed, Mar 11, 2015 at 05:53:08PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: the hmac algo will be registered as hmac(%s) such as hmac(sha256) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- +static int digest_hmac_alloc(struct digest *d) +{ + struct

[PATCH 7/8] digest: add HMAC support for md5, sha1, sha224, sha256, sha384, sha512

2015-03-11 Thread Jean-Christophe PLAGNIOL-VILLARD
the hmac algo will be registered as hmac(%s) such as hmac(sha256) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- crypto/Kconfig| 3 ++ crypto/Makefile | 1 + crypto/hmac.c | 152 ++ crypto/internal.h |

[PATCH 7/8] digest: add HMAC support for md5, sha1, sha224, sha256, sha384, sha512

2015-03-11 Thread Jean-Christophe PLAGNIOL-VILLARD
the hmac algo will be registered as hmac(%s) such as hmac(sha256) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- crypto/Kconfig| 3 ++ crypto/Makefile | 1 + crypto/hmac.c | 129 ++ crypto/internal.h |