On Wed, Aug 06, 2008 at 11:42:26AM +0200, Pavel Machek wrote: > > > +static int crc32c_intel_final(struct ahash_request *req) > > +{ > > + u32 *crcp = ahash_request_ctx(req); > > + > > + *(__le32 *)req->result = ~cpu_to_le32p(crcp); > > + return 0; > > This is not user visible, so le32 should be enough. Unfortunately I don't think le32 exists, it'd definitely be nice to have it though. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <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