lkml.org 
[lkml]   [2014]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC 0/2] integrity: asynchronous hash support
Date
HW accelerated hash calculation is available only via ahash API.

First patch introduces usage of ahash API for file hash calculation.
It allows to offload hash calculation to HW accelerator and release CPU
time to do other usefull job. It might speedup hash calculation but also
reduce power consumption on battery powered devices.

'ima_use_ahash' kernel parameter allows to select between synchronous
and asynchronous hash calculation methods. It allows to measure performance
differences between methods.

Second patch introduces usage of double buffering what allows perform
file IO simulteneously with hash calculation.

- Dmitry

Dmitry Kasatkin (2):
ima: use ahash API for file hash calculation
ima: provide double buffering for hash calculation

security/integrity/ima/ima_crypto.c | 269 +++++++++++++++++++++++++++++++++++-
1 file changed, 266 insertions(+), 3 deletions(-)

--
1.8.3.2



\
 
 \ /
  Last update: 2014-02-28 17:01    [W:0.050 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site