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
> alread
- 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: Kam