diff options
author | Kamil Konieczny <k.konieczny@partner.samsung.com> | 2017-05-12 18:38:02 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-06-19 09:11:56 +0300 |
commit | ea644b8ca44b9fcbb41c58e1d51a0c8cdad0a61b (patch) | |
tree | c69f5a196dfd6a1d6c90ec0b254ddc870343aaa8 /lib/usercopy.c | |
parent | 8270f5d799c946d7636ef317eff990830d2fe89f (diff) | |
download | linux-ea644b8ca44b9fcbb41c58e1d51a0c8cdad0a61b.tar.xz |
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>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions