Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1519636ybp; Fri, 11 Oct 2019 15:51:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwT05eBDLqGbzRivVhx55StYENC2cnU5PvsehZCw6nLo5b0XNn+oNi6TWk7abwNoyiSJCnn X-Received: by 2002:a17:906:2307:: with SMTP id l7mr15727066eja.320.1570834318438; Fri, 11 Oct 2019 15:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570834318; cv=none; d=google.com; s=arc-20160816; b=VNqtT+ht8JS75GpKbfaBu6wBxfkin5Nz/vLbKAbNmva/HeZUJ6vIWjCGwhFiXh04z6 7AM3nNeS6G2xQ815bbKGsiAxmWUsfrPy4WVRMZU1qQbOkWdT4lmvHQMES2CChnC2nJiC QIQ2WTJzGudPiI8YgJ895weGdh1Mja2baRpQoe9Y8Ohz1OI3Czv+kMfVn7Pc/82zt3zw kIioGiU08ZvSiBxSCUe24LV8MlWYrae0Aw9s7Bl8NSKqb1iD0qaBauvMPFt85yxP1y2k MWR4vVntmsXfQJpJzME0HZYkq8U3nls5+jscFairTNF0q/1sETjBKj7FlComzWUW37dV mfmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :reply-to:message-id:subject:cc:to:from:date; bh=pb2kd2/UeXZLZxX2NPDVZ505qaor0AU6e6HZyZ5Nf/0=; b=vma0NOnmWScpONpvWa7oF3KGjXYmrwCSG4Lc0Vd/URZP7mDKN3HH/KFXDbfYOpE6LK SP8DMvBWf2IDVOaMCvupon+pe9dGqw88w2nsxPCgtCutrfqSBAuoN5/M2PGkXLFCHtdK aVMZKj8YdpZS0uRjcm5Za8ISMLqcHr6+ZA6EL2Ttcz0su/915cfduSeLStPYhNHreT/5 FLol2zX2sTq/isAGqyvfvO6Le/ybbKtsc58gmK+TmVI7zQqQXTpM1qPU8itllDiXH3zp n1LNHztSAOVdGah0RqogLmWVz1OHUEeXxc8Vx84CSv0D2GZi9OimSfMqZi0cy6ywVx23 F1Rg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rk6si6077521ejb.129.2019.10.11.15.51.35; Fri, 11 Oct 2019 15:51:58 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727594AbfJKWew (ORCPT + 99 others); Fri, 11 Oct 2019 18:34:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51570 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727605AbfJKWev (ORCPT ); Fri, 11 Oct 2019 18:34:51 -0400 Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B6A8246671 for ; Fri, 11 Oct 2019 22:34:51 +0000 (UTC) Received: by mail-io1-f71.google.com with SMTP id g15so16648511ioc.0 for ; Fri, 11 Oct 2019 15:34:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=pb2kd2/UeXZLZxX2NPDVZ505qaor0AU6e6HZyZ5Nf/0=; b=Zwk5QOgv3cakizzzp0XG85nSoSqIx1AtnyXlRxVAEXBUOYG/L1uAg/eFdmdwHR+7lm 628FqeqxjT3MJJA+9DkZk1AQw/IS180mYdT7Rlpc9oSrpjVpBragX/WWWuNXDm86pRah k91Ala62SqO6I/m51ogycqfOOK80FsVYodeQkotQxVyy5oR6F2PEXC5MdFH8W4U+1aKq 9b1FoGga/1Ak5eFhADzSxED0+qSFolgCc6iJf/mks0YSObk5JqZeUZ1vQ6C/6X5Glk2A qbjKLnmjIzA/ejR+SF7W46G4IYv54BIN4+GK9Cx2zwoFimYrhAUOoVebkyjua8O9dWpd Co7g== X-Gm-Message-State: APjAAAViS2dM+huKzJAPvYy4nP2uh3pBi3Mt826X7Kg8y+RoAZyXCOPg LQy+L0YsSCwZqrD+wJlh5LX1hmqFFldmlnT63wWFDl7721uIqcL7LZoTouJtYKfTRGmjWAenJkw VfXSP9SQN0SvTMdAHK+muT9OB X-Received: by 2002:a5d:8b12:: with SMTP id k18mr3790090ion.133.1570833291159; Fri, 11 Oct 2019 15:34:51 -0700 (PDT) X-Received: by 2002:a5d:8b12:: with SMTP id k18mr3790056ion.133.1570833290974; Fri, 11 Oct 2019 15:34:50 -0700 (PDT) Received: from localhost (ip70-163-223-149.ph.ph.cox.net. [70.163.223.149]) by smtp.gmail.com with ESMTPSA id u11sm8534708iof.22.2019.10.11.15.34.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2019 15:34:50 -0700 (PDT) Date: Fri, 11 Oct 2019 15:34:49 -0700 From: Jerry Snitselaar To: Sumit Garg Cc: jarkko.sakkinen@linux.intel.com, dhowells@redhat.com, peterhuewe@gmx.de, keyrings@vger.kernel.org, linux-integrity@vger.kernel.org, linux-crypto@vger.kernel.org, linux-security-module@vger.kernel.org, herbert@gondor.apana.org.au, davem@davemloft.net, jgg@ziepe.ca, arnd@arndb.de, gregkh@linuxfoundation.org, jejb@linux.ibm.com, zohar@linux.ibm.com, jmorris@namei.org, serge@hallyn.com, linux-kernel@vger.kernel.org, daniel.thompson@linaro.org Subject: Re: [Patch v7 2/4] KEYS: Use common tpm_buf for trusted and asymmetric keys Message-ID: <20191011223448.7kycskba5mfsbvvw@cantor> Reply-To: Jerry Snitselaar Mail-Followup-To: Sumit Garg , jarkko.sakkinen@linux.intel.com, dhowells@redhat.com, peterhuewe@gmx.de, keyrings@vger.kernel.org, linux-integrity@vger.kernel.org, linux-crypto@vger.kernel.org, linux-security-module@vger.kernel.org, herbert@gondor.apana.org.au, davem@davemloft.net, jgg@ziepe.ca, arnd@arndb.de, gregkh@linuxfoundation.org, jejb@linux.ibm.com, zohar@linux.ibm.com, jmorris@namei.org, serge@hallyn.com, linux-kernel@vger.kernel.org, daniel.thompson@linaro.org References: <1570425935-7435-1-git-send-email-sumit.garg@linaro.org> <1570425935-7435-3-git-send-email-sumit.garg@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1570425935-7435-3-git-send-email-sumit.garg@linaro.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon Oct 07 19, Sumit Garg wrote: >Switch to utilize common heap based tpm_buf code for TPM based trusted >and asymmetric keys rather than using stack based tpm1_buf code. Also, >remove tpm1_buf code. > >Suggested-by: Jarkko Sakkinen >Signed-off-by: Sumit Garg >--- Reviewed-by: Jerry Snitselaar