From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932339AbbFQQGp (ORCPT ); Wed, 17 Jun 2015 12:06:45 -0400 Received: from mga02.intel.com ([134.134.136.20]:14636 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757258AbbFQQGk (ORCPT ); Wed, 17 Jun 2015 12:06:40 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,633,1427785200"; d="scan'208";a="748432511" Message-ID: <55819AFF.3010605@intel.com> Date: Wed, 17 Jun 2015 09:06:23 -0700 From: Tadeusz Struk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Herbert Xu CC: linux-kernel@vger.kernel.org, keescook@chromium.org, jwboyer@redhat.com, smueller@chronox.de, richard@nod.at, steved@redhat.com, qat-linux@intel.com, dhowells@redhat.com, linux-crypto@vger.kernel.org, james.l.morris@oracle.com, jkosina@suse.cz, zohar@linux.vnet.ibm.com, davem@davemloft.net, vgoyal@redhat.com Subject: Re: [PATCH RFC v7 0/3] crypto: Introduce Public Key Encryption API References: <20150616173050.1248.21847.stgit@tstruk-mobl1> <20150617091453.GB11190@gondor.apana.org.au> In-Reply-To: <20150617091453.GB11190@gondor.apana.org.au> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/17/2015 02:14 AM, Herbert Xu wrote: >> This patch set introduces a Public Key Encryption API. >> > What is proposed is a new crypto type called crypto_akcipher_type, >> > plus new struct akcipher_alg and struct crypto_akcipher, together with number >> > of helper functions to register akcipher type algorithms and allocate >> > tfm instances. This is to make it similar to how the existing crypto >> > API works for the ablkcipher, ahash, and aead types. >> > The operations the new interface will allow to provide are: >> > >> > int (*sign)(struct akcipher_request *req); >> > int (*verify)(struct akcipher_request *req); >> > int (*encrypt)(struct akcipher_request *req); >> > int (*decrypt)(struct akcipher_request *req); > All applied with two minor changes. First of all I made AKCIPHER > invisible to the user like the other type config options. I also > added a missing select on ASN1 that broke my build. Thank you very much for all your help with this Herbert