lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <cover.1393599653.git.d.kasatkin@samsung.com>
Date:	Fri, 28 Feb 2014 17:07:08 +0200
From:	Dmitry Kasatkin <d.kasatkin@...sung.com>
To:	linux-security-module@...r.kernel.org, zohar@...ux.vnet.ibm.com
Cc:	jmorris@...ei.org, linux-kernel@...r.kernel.org,
	casey.schaufler@...el.com, dmitry.kasatkin@...il.com,
	Dmitry Kasatkin <d.kasatkin@...sung.com>
Subject: [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(-)

-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ