On Thu, Jan 15, 2009 at 11:54:53AM +0100, Geert Uytterhoeven wrote: > > But there are pr_debug()s ;-) Well they must've turned invisible in the copy I received :) > By "both alloc function", do you mean the .setup_comp() and .setup_decomp() > functions? If yes, then I understand. Yes. > (Yesterday, I thought you meant to have separate alloc functions instead of the > one crypto_alloc_pcomp()) No we want a single tfm for this. If we ever get hardware that can handle only one of the two operations we can always implement software fallbacks as we do for hashing and encryption. > I doubt whether it's a good idea to drop the compatibility soon, as the > underlying LZO library in the kernel doesn't support partial (de)compression, > and needs significant rework to do so. Yes but LZO has exactly one user (ubifs) in the kernel and it can stick to the current interface until we convert it over. It's just not worth the extra work to help a single user. 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