[PATCH 1/2] crypto: digest: speficied when a digest need a key to be used
Sascha Hauer
s.hauer at pengutronix.de
Wed Mar 18 23:53:01 PDT 2015
On Wed, Mar 18, 2015 at 10:37:53AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> 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 at jcrosoft.com>
> ---
> commands/digest.c | 3 +++
> crypto/hmac.c | 1 +
> include/digest.h | 12 ++++++++++++
> 3 files changed, 16 insertions(+)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list