commit | 32c2e6752ff0f48fe03b9e1c7c64bde580a840d2 | [log] [tgz] |
---|---|---|
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | Tue May 06 14:54:27 2014 +0300 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Thu Jul 17 09:35:11 2014 -0400 |
tree | 82d66c533fb992e6f9f2f7dcc10f8ec0d1057314 | |
parent | 6edf7a89260859c5e72861dc4e6e169495f076c8 [diff] |
ima: provide double buffering for hash calculation The asynchronous hash API allows initiating a hash calculation and then performing other tasks, while waiting for the hash calculation to complete. This patch introduces usage of double buffering for simultaneous hashing and reading of the next chunk of data from storage. Changes in v3: - better comments Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>