On Wed, Sep 21, 2011 at 11:02:38AM +0200, Steffen Klassert wrote: > > +/* Netlink message attributes. */ > +enum crypto_attr_type_t { > + CRYPTOCFGA_UNSPEC, > + CRYPTOCFGA_PRIORITY_VAL, /* __u32 */ > + __CRYPTOCFGA_MAX > + > +#define CRYPTOCFGA_MAX (__CRYPTOCFGA_MAX - 1) > +}; > + > +struct crypto_user_alg { > + char cru_name[CRYPTO_MAX_ALG_NAME]; > + char cru_driver_name[CRYPTO_MAX_ALG_NAME]; > + char cru_module_name[CRYPTO_MAX_ALG_NAME]; > + __u32 cru_type; > + __u32 cru_mask; > + __u32 cru_priority; Do we still need this since you already have the priority as an attribute? Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html