From: Dmitry Kasatkin <d.kasatkin@samsung.com>
To: linux-security-module@vger.kernel.org, zohar@linux.vnet.ibm.com
Cc: jmorris@namei.org, linux-kernel@vger.kernel.org,
casey.schaufler@intel.com, dmitry.kasatkin@gmail.com,
Dmitry Kasatkin <d.kasatkin@samsung.com>
Subject: [RFC 0/2] integrity: asynchronous hash support
Date: Fri, 28 Feb 2014 17:07:08 +0200 [thread overview]
Message-ID: <cover.1393599653.git.d.kasatkin@samsung.com> (raw)
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
next reply other threads:[~2014-02-28 15:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-28 15:07 Dmitry Kasatkin [this message]
2014-02-28 15:07 ` [RFC 1/2] ima: use ahash API for file hash calculation Dmitry Kasatkin
2014-02-28 15:07 ` [RFC 2/2] ima: provide double buffering for " Dmitry Kasatkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1393599653.git.d.kasatkin@samsung.com \
--to=d.kasatkin@samsung.com \
--cc=casey.schaufler@intel.com \
--cc=dmitry.kasatkin@gmail.com \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=zohar@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome