Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp369633imm; Thu, 13 Sep 2018 23:03:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYAVDfdM9gMq4cR9+dn5O8dRURgOXzFTMVMEZQ6ePMTu/xTwJaRjTI+SoTVES6jONAYpHiT X-Received: by 2002:a62:5543:: with SMTP id j64-v6mr10545279pfb.188.1536905030121; Thu, 13 Sep 2018 23:03:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536905030; cv=none; d=google.com; s=arc-20160816; b=flKAYrDvZDnfDYLAyh/VMBUPB23xq1ie/Ik/vqzJQQsm/FhkNrXLASxZXtzyfBqk41 c9iNBJ0enlY1T06jXU8itNHfV814kORfUcti7m+6E33mVt+hAKyCZdkEnN/O8krstCM+ kdWuu9mdIghy6TykgLv5jJknDonA6sOz1PRpP3NhJhspodUOXwzJuPmjf4p1G2RaAoLN JmR8WzTC4i4PZjYO78gQE50ngtqsArJzPfQVVJYvaCvAW4Ty6xDjdOZnQ/IJL/aj2sxu ulr/3iolltV3n49cnpIFt9F+WcWqrhCrPyBQsVEgD2wRL6/kt9wgUsnVBWJIQplVXsa+ bSsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date; bh=gF9NrAfIR9z8Xt+nYFVGP5dogsG5S275JfRSLYxyulc=; b=Y1HMfAOn+5jzqLbcgBsJoxqFBp3VsZitdzj2Zamsk1jT58t12F38uQzr1nSUe8oodh 1l7wBAv7ScF5Ic6WXvw/rvbbi6mlVijlKKBIyE/zSyIiMGjgbFuN0sLE4q6f+b7PCD6u WuKShNDwxNIDwsn5YHwX4ahvup3ZpoOsJrXmZg1Gk9oeNGGmXbG3VRKVfeXPx+ouDKiF HWeF+JTeDLvAU1aRqXPFbvWsFICsNlc5qlstXi9CLcQXUWPHs/wDzw3zJG87mRAsjIOJ WfsJj0p31qPLGm1SNGbOslfnFpSrWNyHhfathFVjf2uOMs8fdArXzzpycPNNzSOb66DW evDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t32-v6si6422123pgk.294.2018.09.13.23.03.34; Thu, 13 Sep 2018 23:03:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727640AbeINLQV (ORCPT + 99 others); Fri, 14 Sep 2018 07:16:21 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:56046 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726891AbeINLQV (ORCPT ); Fri, 14 Sep 2018 07:16:21 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1g0hCK-0003pb-FA; Fri, 14 Sep 2018 14:03:20 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1g0hCB-0006FS-5y; Fri, 14 Sep 2018 14:03:11 +0800 Date: Fri, 14 Sep 2018 14:03:11 +0800 From: Herbert Xu To: Kalyani Akula Cc: davem@davemloft.net, kstewart@linuxfoundation.org, gregkh@linuxfoundation.org, tglx@linutronix.de, pombredanne@nexb.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, saratcha@xilinx.com, kalyani.akula@xilinx.com Subject: Re: [PATCH] crypto: Adds user space interface for ALG_SET_KEY_TYPE Message-ID: <20180914060311.hxngp42bogbabpkd@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1536302443-18380-1-git-send-email-kalyani.akula@xilinx.com> X-Newsgroups: apana.lists.os.linux.cryptoapi,apana.lists.os.linux.kernel,apana.lists.os.linux.netdev Organization: Core User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kalyani Akula wrote: > ALG_SET_KEY_TYPE requires caller to pass the key_type to be used > for AES encryption/decryption. > > Sometimes the cipher key will be stored in the device's > hardware (eFuse, BBRAM etc).So,there is a need to specify the information > about the key-type to use it for Encrypt or Decrypt operations. > > This patch implements the above requirement. > > > Signed-off-by: Kalyani Akula This patch does not make sense by itself. Please post it together with the patches that will make use of this. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt