Re: ahash vs. shash

2014-05-14 Thread Dmitry Kasatkin
On 14 May 2014 04:39, Herbert Xu wrote: > Dmitry Kasatkin wrote: >> Hi, >> >> ahash allows to use HW acceleration, but usually it comes at a cost of >> additional HW related configuration overhead, such as configuring hash >> module, DMA, etc. For that reason hashing small chucks of data is >> fa

Re: ahash vs. shash

2014-05-13 Thread Herbert Xu
Dmitry Kasatkin wrote: > Hi, > > ahash allows to use HW acceleration, but usually it comes at a cost of > additional HW related configuration overhead, such as configuring hash > module, DMA, etc. For that reason hashing small chucks of data is > faster doing it with shash (CPU) rather than HW ac