From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.megiteam.pl ([31.186.83.105]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fwng1-0005Zo-M9 for barebox@lists.infradead.org; Mon, 03 Sep 2018 12:09:55 +0000 From: Marcin Niestroj Date: Mon, 3 Sep 2018 13:44:47 +0200 Message-Id: <20180903114452.4611-23-m.niestroj@grinn-global.com> In-Reply-To: <20180903114452.4611-1-m.niestroj@grinn-global.com> References: <20180903112408.2086-1-m.niestroj@grinn-global.com> <20180903114452.4611-1-m.niestroj@grinn-global.com> MIME-Version: 1.0 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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 13/18] crypto: caam - constify key data To: barebox@lists.infradead.org Cc: Marcin Niestroj UGljayBjb21taXQgNjY3NGE0ZmRjNmMyZTY5MGIyOGI3ZjU5MGNkMjA4NzFhZWVlNTVhZCBmcm9t IExpbnV4CnVwc3RyZWFtLgoKICAgIGNyeXB0bzogY2FhbSAtIGNvbnN0aWZ5IGtleSBkYXRhCgog ICAgS2V5IGRhdGEgaXMgbm90IG1vZGlmaWVkLCBpdCBpcyBjb3BpZWQgaW4gdGhlIHNoYXJlZCBk ZXNjcmlwdG9yLgoKICAgIFNpZ25lZC1vZmYtYnk6IEhvcmlhIEdlYW50xIMgPGhvcmlhLmdlYW50 YUBueHAuY29tPgogICAgU2lnbmVkLW9mZi1ieTogSGVyYmVydCBYdSA8aGVyYmVydEBnb25kb3Iu YXBhbmEub3JnLmF1PgoKU2lnbmVkLW9mZi1ieTogTWFyY2luIE5pZXN0cm9qIDxtLm5pZXN0cm9q QGdyaW5uLWdsb2JhbC5jb20+Ci0tLQogZHJpdmVycy9jcnlwdG8vY2FhbS9kZXNjX2NvbnN0ci5o IHwgOCArK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