ima: calculate the hash of a buffer using aynchronous hash(ahash)
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 28 Dec 2015 16:56:09 +0000 (11:56 -0500)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 18 Feb 2016 22:14:44 +0000 (17:14 -0500)
commit98304bcf71845e97c0b5c800ae619311156b66c1
treedafcf381428ee5bc96d4dc1f4ab65bf592fbf4af
parent11d7646df8e800f434ff710ad6100acbea59068e
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>
security/integrity/ima/ima_crypto.c
This page took 0.027013 seconds and 5 git commands to generate.