Re: [PATCH 2/2] crypto: qat - Don't move data inside output buffer

From: Herbert Xu
Date: Fri Aug 14 2015 - 02:26:55 EST

On Thu, Aug 13, 2015 at 11:14:11PM -0700, Tadeusz Struk wrote:
> Right, but we don't need that anymore.

Why not? If you reduce the size without moving the buffer wouldn't
it begin with a bunch of zeroes and wouldn't you lose the real bytes
at the end?

Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at