Re: [PATCH v3 1/3] ima: use ahash API for file hash calculation

From: Marek Vasut
Date: Thu Jul 10 2014 - 07:31:33 EST

On Thursday, July 10, 2014 at 01:18:41 PM, Dmitry Kasatkin wrote:
> > All right, that was my understanding of the entire discussion -- an
> > accelerator dying mid-way and what will IMA do about that.
> >
> >> But as we fallback to early allocated shash, which is not USB yet,
> >> then there is no problem.
> >> ahash itself does not bring any other additional problem than shash
> >> itself. They are compiled builtin together.
> >
> > Sure, I understood that. But what will happen if the ahash accelerator
> > stops working mid-flight, will IMA also go bonkers or is there some
> > graceful stop?
> shash fallback will be used.

Ah, thank you for clearing this!

Best regards,
Marek Vasut
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at