Re: [PATCH v3 10/22] ima: calculate the hash of a buffer using aynchronous hash(ahash)
On Wed, Feb 3, 2016 at 9:06 PM, Mimi Zoharwrote: > 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 Acked-by: Dmitry
[PATCH v3 10/22] 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--- security/integrity/ima/ima_crypto.c | 75 - 1 file changed, 73