Re: [PATCH 1/2] md: dm-verity: aggregate crypto API calls

2018-03-25 Thread Gilad Ben-Yossef
On Sun, Mar 25, 2018 at 9:41 PM, Yael Chemla wrote: > Current implementation makes multiple crypto API calls per block > implementation makes multiple crypto API calls per single block, > forcing underlying crypto tfm implementation to "stop & go", > leading to under utilization of HW engines.

[PATCH 1/2] md: dm-verity: aggregate crypto API calls

2018-03-25 Thread Yael Chemla
Current implementation makes multiple crypto API calls per block implementation makes multiple crypto API calls per single block, forcing underlying crypto tfm implementation to "stop & go", leading to under utilization of HW engines. To fix it unify calls to crypto init/update/final into a d