RFC integrity: asynchronous hash support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ima: use ahash API for file hash calculationsecurity/ | +176 | 0 replies | |
| 2/2 | ima: provide double buffering for hash calculationsecurity/ | +106 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/2] integrity: asynchronous hash support
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(-)
Signature · 1 line
1.8.3.2