[RFC 2/2] ima: provide double buffering for hash calculation

2014-02-28 Thread Dmitry Kasatkin
Asynchronous hash API allows initiate hash calculation and perform other tasks while hash is calculated. This patch introduces using of double buffering for simultenous hashing and reading of the next chunk of data from storage. Signed-off-by: Dmitry Kasatkin ---

[RFC 2/2] ima: provide double buffering for hash calculation

2014-02-28 Thread Dmitry Kasatkin
Asynchronous hash API allows initiate hash calculation and perform other tasks while hash is calculated. This patch introduces using of double buffering for simultenous hashing and reading of the next chunk of data from storage. Signed-off-by: Dmitry Kasatkin d.kasat...@samsung.com ---