Re: [PATCH v3 1/2] crypto: Implement a generic crypto statistics

2018-12-06 Thread LABBE Corentin
On Wed, Dec 05, 2018 at 04:04:59PM -0800, Eric Biggers wrote: > Hi Corentin, > > On Wed, Sep 19, 2018 at 10:10:54AM +, Corentin Labbe wrote: > > +int crypto_dump_reportstat(struct sk_buff *skb, struct netlink_callback > > *cb) > > +{ > > + struct crypto_alg *alg; > > + struct crypto_dump_

Re: [PATCH v3 1/2] crypto: Implement a generic crypto statistics

2018-12-05 Thread Eric Biggers
Hi Corentin, On Wed, Sep 19, 2018 at 10:10:54AM +, Corentin Labbe wrote: > +int crypto_dump_reportstat(struct sk_buff *skb, struct netlink_callback *cb) > +{ > + struct crypto_alg *alg; > + struct crypto_dump_info info; > + int err; > + > + if (cb->args[0]) > + goto

Re: [PATCH v3 1/2] crypto: Implement a generic crypto statistics

2018-11-04 Thread LABBE Corentin
On Sat, Nov 03, 2018 at 03:52:35PM -0700, Eric Biggers wrote: > On Wed, Sep 19, 2018 at 10:10:54AM +, Corentin Labbe wrote: > > diff --git a/include/uapi/linux/cryptouser.h > > b/include/uapi/linux/cryptouser.h > > index 19bf0ca6d635..6dafbc3e4414 100644 > > --- a/include/uapi/linux/cryptouser

Re: [PATCH v3 1/2] crypto: Implement a generic crypto statistics

2018-11-04 Thread LABBE Corentin
On Sat, Nov 03, 2018 at 03:19:36PM -0700, Eric Biggers wrote: > Hi Corentin, > > On Wed, Sep 19, 2018 at 10:10:54AM +, Corentin Labbe wrote: > > This patch implement a generic way to get statistics about all crypto > > usages. > > > > Signed-off-by: Corentin Labbe > > --- > > crypto/Kconfig

Re: [PATCH v3 1/2] crypto: Implement a generic crypto statistics

2018-11-03 Thread Eric Biggers
On Wed, Sep 19, 2018 at 10:10:54AM +, Corentin Labbe wrote: > diff --git a/include/uapi/linux/cryptouser.h b/include/uapi/linux/cryptouser.h > index 19bf0ca6d635..6dafbc3e4414 100644 > --- a/include/uapi/linux/cryptouser.h > +++ b/include/uapi/linux/cryptouser.h > @@ -29,6 +29,7 @@ enum { >

Re: [PATCH v3 1/2] crypto: Implement a generic crypto statistics

2018-11-03 Thread Eric Biggers
Hi Corentin, On Wed, Sep 19, 2018 at 10:10:54AM +, Corentin Labbe wrote: > This patch implement a generic way to get statistics about all crypto > usages. > > Signed-off-by: Corentin Labbe > --- > crypto/Kconfig | 11 + > crypto/Makefile

[PATCH v3 1/2] crypto: Implement a generic crypto statistics

2018-09-19 Thread Corentin Labbe
This patch implement a generic way to get statistics about all crypto usages. Signed-off-by: Corentin Labbe --- crypto/Kconfig | 11 + crypto/Makefile | 1 + crypto/ahash.c | 21 +- crypto/algapi.c