summaryrefslogtreecommitdiff
path: root/security/security.c
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2015-12-28 19:56:09 +0300
committerMimi Zohar <zohar@linux.vnet.ibm.com>2016-02-19 01:14:44 +0300
commit98304bcf71845e97c0b5c800ae619311156b66c1 (patch)
treedafcf381428ee5bc96d4dc1f4ab65bf592fbf4af /security/security.c
parent11d7646df8e800f434ff710ad6100acbea59068e (diff)
downloadlinux-98304bcf71845e97c0b5c800ae619311156b66c1.tar.xz
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>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions