Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752432AbaGJLb3 (ORCPT ); Thu, 10 Jul 2014 07:31:29 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:58334 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752274AbaGJLb1 (ORCPT ); Thu, 10 Jul 2014 07:31:27 -0400 X-Auth-Info: DUAKk9CO9MmGJ/7m2Nw+LrWZDbCg1Uwd1iVjEVYcXg0= From: Marek Vasut To: Dmitry Kasatkin Subject: Re: [PATCH v3 1/3] ima: use ahash API for file hash calculation Date: Thu, 10 Jul 2014 13:31:25 +0200 User-Agent: KMail/1.13.7 (Linux/3.13-trunk-amd64; KDE/4.13.1; x86_64; ; ) Cc: Dmitry Kasatkin , Mimi Zohar , linux-ima-devel@lists.sourceforge.net, "linux-security-module" , "linux-kernel@vger.kernel.org" , "linux-crypto" References: <201407101002.07535.marex@denx.de> <53BE7691.3080604@samsung.com> In-Reply-To: <53BE7691.3080604@samsung.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201407101331.25786.marex@denx.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/