On Tue, May 05, 2015 at 01:22:03PM +0900, Akinobu Mita wrote: > > The reason for crypto_shash_import() was I wanted to make > crc_t10dif_update() more generic. But as far as I can see existing > crct10dif modules (crct10dif-generic and crct10dif-pclmul), we don't > need it (i.e. '*(__u16 *)desc.ctx = crc' instead of crc_t10dif_import) Yes we do the same thing with crc32c so I don't see why you couldn't do that here. 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