diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2015-12-28 16:56:09 (GMT) |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2016-02-18 22:14:44 (GMT) |
commit | 98304bcf71845e97c0b5c800ae619311156b66c1 (patch) | |
tree | dafcf381428ee5bc96d4dc1f4ab65bf592fbf4af /security/security.c | |
parent | 11d7646df8e800f434ff710ad6100acbea59068e (diff) | |
download | linux-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