Re: ahash vs. shash

2014-05-13 Thread Herbert Xu
Dmitry Kasatkin dmitry.kasat...@gmail.com 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

ahash vs. shash

2014-05-07 Thread Dmitry Kasatkin
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 acceleration. I measured long time