From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 12 Mar 2021 11:16:56 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lKeqm-0004Jj-Ne for lore@lore.pengutronix.de; Fri, 12 Mar 2021 11:16:56 +0100 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKeql-00026m-L0 for lore@pengutronix.de; Fri, 12 Mar 2021 11:16:56 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Date:To:From: Subject:Message-ID:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kf3YFvEsxmNpLRcmQOb1BFZIFyIoQKtMGSgMPl0frvo=; b=D2sdtKY2wFYEVxAZP744qRCOf wiLbgdgXImAQBrrqnWDZsbNh6w2O+f63Kt1dxH8+igwLAqHz6L5x8SEH7dTHyEesuQ1nYIDJGo7JS 8prvhRf35NBybKBWVWAu2cCNnYkHHv7wtI1wevsZl9v3/yXJQFfnklzMWSBDeiH9mWwr7AUjE/GZK E5JFE2aO+rLP9vN17SD4n5pN3lwphpjmVDYED/AayYm1CBbaR333dT0yPBM8/BOWV4fwOVanaXvCI vxL9ZCmZgZYnbf1/fwjJ+Xma4tj4QxZAQ5slOp5lghkEqUTxmufqzSzHRDfwEfle/j8aMc+PPNp7S qUqeQvTnA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKepq-00B8bO-Qp; Fri, 12 Mar 2021 10:15:59 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lKepl-00B8aB-Fm for barebox@lists.infradead.org; Fri, 12 Mar 2021 10:15:55 +0000 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKepk-0001s8-1L; Fri, 12 Mar 2021 11:15:52 +0100 Message-ID: <29418bb8fccd7967e6350e799067f4235a665fe2.camel@pengutronix.de> From: Rouven Czerwinski To: Denis Osterland-Heim , "barebox@lists.infradead.org" Date: Fri, 12 Mar 2021 11:15:51 +0100 In-Reply-To: <20210311170403.22671-1-denis.osterland@diehl.com> References: <20210311170403.22671-1-denis.osterland@diehl.com> Organization: Pengutronix e.K. User-Agent: Evolution 3.38.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210312_101553_610687_76A6F39F X-CRM114-Status: GOOD ( 23.88 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" X-SA-Exim-Connect-IP: 2001:8b0:10b:1:d65d:64ff:fe57:4e05 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: [PATCH] nvmem: ocotp: add support to revoke keys X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) SGVsbG8gRGVuaXMsCgpPbiBUaHUsIDIwMjEtMDMtMTEgYXQgMTc6MDcgKzAwMDAsIERlbmlzIE9z dGVybGFuZC1IZWltIHdyb3RlOgo+IEZyb206IERlbmlzIE9zdGVybGFuZC1IZWltIDxEZW5pcy5P c3RlcmxhbmRAZGllaGwuY29tPgo+IAo+IEFkZCBkZXZpY2UgdHJlZSBwcm9wZXJ0eSAnYmFyZWJv eCxrZXktcmV2b2tlJyB3aXRoIHRoZSBzeW50YXg6Cj4gPCBrZXlfcGhhbmRsZSBmdXNlX29mZnNl dCBtYXNrID4KPiAKPiBBbiBleGFtcGxlOgo+IHNpZ25hdHVyZSB7Cj4ga2V5MToga2V5LWltZzEg eyAuLi4gfTsKPiBrZXkyOiBrZXktc3JrMSB7IC4uLiB9Owo+IH07Cj4gfTsKPiAmb2NvdHAgewo+ IGJhcmVib3gsa2V5LXJldm9rZSA9IDwKPiAma2V5MSAweDY2MCAxCj4gJmtleTIgMHg2ZjAgMQo+ ID4gOwo+IH07CgpJIHRoaW5rIHVzaW5nIGRldmljZSB0cmVlIHByb3BlcnRpZXMgZm9yIHRoaXMg aXMgYSBiYWQgaWRlYS4gVGhpcwpzaG91bGQgcmF0aGVyIGJlIGltcGxlbWVudGVkIGFzIGEgcmV2 b2tlIGFyZ3VtZW50IHRvIHRoZSBoYWIgY29tbWFuZC4KUmV2b2NhdGlvbiBjYW4gdGhhbiBiZSBk b25lIHdpdGhpbiBhIGJvb3R1cCBzY3JpcHQgZHVyaW5nIGJhcmVib3gKc3RhcnQuCgpSZWdhcmRz LApSb3V2ZW4KCj4gU2lnbmVkLW9mZi1ieTogR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