From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dTB5w-0006Xq-OW for barebox@lists.infradead.org; Thu, 06 Jul 2017 18:01:42 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Thu, 6 Jul 2017 20:01:12 +0200 Message-Id: <20170706180112.32540-1-u.kleine-koenig@pengutronix.de> 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] crypto: digest: Fix digesting over memory chunks > 4096 bytes To: barebox@lists.infradead.org VGhlcmUgYXJlIHR3byBkaWZmZXJlbnQgY2FzZXMgdGhhdCBhcmUgaGFuZGxlZCBpbiBkaWdlc3Rf ZmlsZV93aW5kb3c6CgogYSkgdGhlIGZpbGUgdG8gZGlnZXN0IGlzIG1lbW1hcHBhYmxlIChlLmcu IC9kZXYvbWVtKQogYikgaXQgaXNuJ3QgKGUuZy4gZmlsZXMgaW4gLykKCkluIGJvdGggY2FzZXMg YSBmaWxlIGlzIGRpZ2VzdGVkIGluIGh1bmtzIG9mICh1cCB0bykgNDA5NiBieXRlcy4gQWZ0ZXIK ZWFjaCBodW5rIGluIGIpIHRoZSBidWZmZXIgdGhhdCBpcyBmZWQgdG8gZGlnZXN0X3VwZGF0ZSgp IGlzIHRoZW4Kb3ZlcndyaXR0ZW4gdXNpbmcgcmVhZCgpIHRvIGdldCB0aGUgbmV4dCBodW5rIHRv IGRpZ2VzdC4gSW4gY2FzZSBhKQpob3dldmVyIGl0IHdhcyBmb3Jnb3R0ZW4gdG8gc3RlcCBmb3J3 YXJkIGluIHRoZSBidWZmZXIgYW5kIGluc3RlYWQgdGhlCn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