commit | ea644b8ca44b9fcbb41c58e1d51a0c8cdad0a61b | [log] [tgz] |
---|---|---|
author | Kamil Konieczny <k.konieczny@partner.samsung.com> | Fri May 12 17:38:02 2017 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jun 19 14:11:56 2017 +0800 |
tree | c69f5a196dfd6a1d6c90ec0b254ddc870343aaa8 | |
parent | 8270f5d799c946d7636ef317eff990830d2fe89f [diff] |
crypto: doc - Fixed bugs, added example usage of calc_hash(). - 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@partner.samsung.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>