diff options
author | Kamil Konieczny <k.konieczny@partner.samsung.com> | 2017-05-12 17:38:02 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-06-19 14:11:56 +0800 |
commit | ea644b8ca44b9fcbb41c58e1d51a0c8cdad0a61b (patch) | |
tree | c69f5a196dfd6a1d6c90ec0b254ddc870343aaa8 /fs/squashfs/file_direct.c | |
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>
Diffstat (limited to 'fs/squashfs/file_direct.c')
0 files changed, 0 insertions, 0 deletions