Re: [PATCH] crypto: mxs-dcp: Optimize hashing

2014-03-10 Thread Herbert Xu
On Mon, Mar 03, 2014 at 01:40:30PM +0100, Marek Vasut wrote: > Optimize the hashing operation in the MXS-DCP by doing two adjustments: > 1) Given that the output buffer for the hash is now always correctly aligned, >we can just use the buffer for the DCP DMA to store the resulting hash. >We

[PATCH] crypto: mxs-dcp: Optimize hashing

2014-03-03 Thread Marek Vasut
Optimize the hashing operation in the MXS-DCP by doing two adjustments: 1) Given that the output buffer for the hash is now always correctly aligned, we can just use the buffer for the DCP DMA to store the resulting hash. We thus get rid of one copying of data. Moreover, we remove an entry fr