Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1668821

Re: [PATCH] Documentation: crypto: Fixed bugs, added example usage of calc_hash().

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH] Documentation: crypto: Fixed bugs, added example usage of calc_hash().
Date 2017-06-19 08:50 +0200
Message-ID <tTYFA-7yd-5@gated-at.bofh.it> (permalink)
References <tGkZj-6DA-11@gated-at.bofh.it> <tGkZj-6DA-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
>   already returns negative values like ERR_PTR(-ENOMEM). Fixed.
> 
> Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] Documentation: crypto: Fixed bugs, added example usage  of calc_hash(). Herbert Xu <herbert@gondor.apana.org.au> - 2017-06-19 08:50 +0200

csiph-web