On Fri, Feb 07, 2014 at 10:51:08AM +0100, Ard Biesheuvel wrote: > > So i get your point: I will have a go at passing the entire buffer to > ecb(%s), and then wrapping the chaining mode around that. > I guess you don't think the (avoidable) additional memory usage is a concern? You mean the temporary buffer for the in-place case? It's a hard problem and this will more likely determine how much you can pass to ecb than anything else. If you find a good solution we could make use of it in other places, e.g., ctr on s390. Thanks, -- 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