crypto: digest: speficied when a digest need a key to be used
such as for hmac(xxx) you must provide a key

This will allow to enforce the correct parameter at digest command

<digest>sum is not impacted

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b0be99f commit ca95c2531f7ff68c95cfa205623e157e720615f0
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD authored on 18 Mar 2015
Sascha Hauer committed on 20 Mar 2015
Showing 3 changed files
View
commands/digest.c
View
crypto/hmac.c
View
include/digest.h