Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753269Ab3JVLaA (ORCPT ); Tue, 22 Oct 2013 07:30:00 -0400 Received: from mail-wg0-f50.google.com ([74.125.82.50]:38527 "EHLO mail-wg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751826Ab3JVL36 (ORCPT ); Tue, 22 Oct 2013 07:29:58 -0400 MIME-Version: 1.0 In-Reply-To: <20131022052458.GA5896@gondor.apana.org.au> References: <1382395388-8108-1-git-send-email-zohar@linux.vnet.ibm.com> <1382395388-8108-2-git-send-email-zohar@linux.vnet.ibm.com> <20131022052458.GA5896@gondor.apana.org.au> Date: Tue, 22 Oct 2013 12:29:56 +0100 Message-ID: Subject: Re: [PATCH v2 01/23] crypto: provide single place for hash algo information From: Dmitry Kasatkin To: Herbert Xu Cc: Mimi Zohar , linux-security-module@vger.kernel.org, Dmitry Kasatkin , "linux-kernel@vger.kernel.org" , James Morris , David Howells Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1721 Lines: 54 On Tue, Oct 22, 2013 at 6:24 AM, Herbert Xu wrote: > On Mon, Oct 21, 2013 at 06:42:46PM -0400, Mimi Zohar wrote: >> From: Dmitry Kasatkin >> >> This patch provides a single place for information about hash algorithms, >> such as hash sizes and kernel driver names, which will be used by IMA >> and the public key code. >> >> Changelog: >> - Fix sparse and checkpatch warnings >> - Move hash algo enums to uapi for userspace signing functions. >> >> Signed-off-by: Dmitry Kasatkin >> Signed-off-by: Mimi Zohar > > Are you adding a user-space interface for this? If so please use > the existing crypto user-space API. > Hello, We are not adding user-space interface. We just need to algo definitions which are in sync between user space, IMA/EVM and kernel module signing. Module signing perl script uses hard coded values. We want to improve it export them to user space. But please give us a hint, what crypto user-space API helps for us? Thanks! Dmitry > Thanks, > -- > Email: Herbert Xu > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt > -- > To unsubscribe from this list: send the line "unsubscribe linux-security-module" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Thanks, Dmitry -- 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/