Re: [PATCH] Documentation: crypto: Fixed bugs, added example usage of calc_hash().

From: Herbert Xu
Date: Mon Jun 19 2017 - 02:41:26 EST


On Fri, May 12, 2017 at 05:38:02PM +0200, Kamil Konieczny wrote:
> - Fixed bugs in example for shash and rng (added missing "*" and " *").
> - Corrected pr_info() in calc_hash().
> - Added example usage of calc_hash().
> - No need for negate PTR_ERR to get error code, as crypto_alloc_rng
> already returns negative values like ERR_PTR(-ENOMEM). Fixed.
>
> Signed-off-by: Kamil Konieczny <k.konieczny@xxxxxxxxxxxxxxxxxxx>

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt