From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030747AbbJ3LQh (ORCPT ); Fri, 30 Oct 2015 07:16:37 -0400 Received: from mga02.intel.com ([134.134.136.20]:49769 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030667AbbJ3LQf (ORCPT ); Fri, 30 Oct 2015 07:16:35 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,217,1444719600"; d="scan'208";a="807401290" Date: Fri, 30 Oct 2015 13:16:29 +0200 From: Jarkko Sakkinen To: Mimi Zohar Cc: Peter Huewe , Marcel Selhorst , David Howells , tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, chris.j.arges@canonical.com, seth.forshee@canonical.com, colin.king@canonical.com, josh@joshtriplett.org, David Safford , James Morris , "Serge E. Hallyn" Subject: Re: [PATCH v1 3/4] keys, trusted: select the hash algorithm Message-ID: <20151030111629.GA31906@intel.com> References: <1446134370-11460-1-git-send-email-jarkko.sakkinen@linux.intel.com> <1446134370-11460-4-git-send-email-jarkko.sakkinen@linux.intel.com> <1446147440.13911.5.camel@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1446147440.13911.5.camel@linux.vnet.ibm.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 29, 2015 at 03:37:20PM -0400, Mimi Zohar wrote: > On Thu, 2015-10-29 at 17:59 +0200, Jarkko Sakkinen wrote: > > Added 'hash=' option for selecting the hash algorithm for add_key() > > syscall. > > > > Signed-off-by: Jarkko Sakkinen > > --- > > security/keys/trusted.c | 20 +++++++++++++++++++- > > 1 file changed, 19 insertions(+), 1 deletion(-) > > > > diff --git a/security/keys/trusted.c b/security/keys/trusted.c > > index d3633cf..7a87bcd 100644 > > --- a/security/keys/trusted.c > > +++ b/security/keys/trusted.c > > @@ -11,6 +11,7 @@ > > * See Documentation/security/keys-trusted-encrypted.txt > > */ > > > > +#include > > This introduces a Kconfig dependency on CRYPTO_HASH_INFO. Thanks. I'll add it. Got also build error from kbuild bot. I'll use that config to reproduce and fix this error. > Mimi /Jarkko