lkml.org 
[lkml]   [2014]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3 1/3] ima: use ahash API for file hash calculation
Date
On Tuesday, July 08, 2014 at 10:07:16 AM, Dmitry Kasatkin wrote:
[...]
> > Right, but my concern is not about unloading the kernel module, but
> > about the IMA module parameters left initialized. The existing code
> > will continue using ahash (software version), even though the kernel
> > module was unloaded, not shash. My question is about the software
> > implementations of ahash vs. shash performance.
> >
> > Mimi
>
> If HW driver will not be available, ahash loads generic driver which is
> using shash.
> Performance of that will be the same as for using shash directly.

Hi Dmitry, I think Mimi is concerned about the crypto accelerator dying mid-
flight.

Imagine a situation where you have a hardware crypto accelerator connected via
USB. You happily use IMA with this setup for days and then someone comes around
and pulls the USB cable out. Will this be able to cope with such situation, for
example by switching to software operations or such in some sane way ?

I presume that's the concern here.

Best regards,
Marek Vasut


\
 
 \ /
  Last update: 2014-07-10 00:01    [W:0.184 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site