commit | 98304bcf71845e97c0b5c800ae619311156b66c1 | [log] [tgz] |
---|---|---|
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | Mon Dec 28 11:56:09 2015 -0500 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Thu Feb 18 17:14:44 2016 -0500 |
tree | dafcf381428ee5bc96d4dc1f4ab65bf592fbf4af | |
parent | 11d7646df8e800f434ff710ad6100acbea59068e [diff] |
ima: calculate the hash of a buffer using aynchronous hash(ahash) Setting up ahash has some overhead. Only use ahash to calculate the hash of a buffer, if the buffer is larger than ima_ahash_minsize. Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com> Acked-by: Dmitry Kasatkin <dmitry.kasatkin@huawei.com>