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

2017-06-19 Thread Herbert Xu
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 >

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

2017-05-12 Thread Kamil Konieczny
- 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: