Re: [PATCH v3 10/22] ima: calculate the hash of a buffer using aynchronous hash(ahash)

2016-02-10 Thread Dmitry Kasatkin
On Wed, Feb 3, 2016 at 9:06 PM, Mimi Zohar wrote: > 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)

2016-02-03 Thread Mimi Zohar
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