Re: [PATCH v2 02/15] crypto: Add userspace configuration API

2011-09-01 Thread Herbert Xu
On Mon, Aug 29, 2011 at 10:18:18AM +0200, Steffen Klassert wrote: > On Mon, Aug 22, 2011 at 02:59:01PM +0800, Herbert Xu wrote: > > On Wed, Aug 17, 2011 at 02:10:13PM +0200, Steffen Klassert wrote: > > > > > > +struct crypto_user_alg { > > > + char cru_name[CRYPTO_MAX_ALG_NAME]; > > > + char cru_dr

Re: [PATCH v2 02/15] crypto: Add userspace configuration API

2011-08-29 Thread Steffen Klassert
On Mon, Aug 22, 2011 at 02:59:01PM +0800, Herbert Xu wrote: > On Wed, Aug 17, 2011 at 02:10:13PM +0200, Steffen Klassert wrote: > > > > +struct crypto_user_alg { > > + char cru_name[CRYPTO_MAX_ALG_NAME]; > > + char cru_driver_name[CRYPTO_MAX_ALG_NAME]; > > + __u32 type; > > + __u32 mask; >

Re: [PATCH v2 02/15] crypto: Add userspace configuration API

2011-08-21 Thread Herbert Xu
On Wed, Aug 17, 2011 at 02:10:13PM +0200, Steffen Klassert wrote: > > +struct crypto_user_alg { > + char cru_name[CRYPTO_MAX_ALG_NAME]; > + char cru_driver_name[CRYPTO_MAX_ALG_NAME]; > + __u32 type; > + __u32 mask; > +}; > + > +#define CRYPTO_MAX_NAME CRYPTO_MAX_ALG_NAME > + > +stru

[PATCH v2 02/15] crypto: Add userspace configuration API

2011-08-17 Thread Steffen Klassert
This patch adds a basic userspace configuration API for the crypto layer. With this it is possible to instantiate, remove and to show crypto algorithms from userspace. Signed-off-by: Steffen Klassert --- crypto/Kconfig |7 + crypto/Makefile|1 + crypto/crypto_user