summaryrefslogtreecommitdiff
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorKamil Konieczny <k.konieczny@partner.samsung.com>2017-05-12 17:38:02 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-06-19 14:11:56 +0800
commitea644b8ca44b9fcbb41c58e1d51a0c8cdad0a61b (patch)
treec69f5a196dfd6a1d6c90ec0b254ddc870343aaa8 /crypto/algapi.c
parent8270f5d799c946d7636ef317eff990830d2fe89f (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 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions