{"id":815525,"url":"http://patchwork.ozlabs.org/api/patches/815525/?format=json","web_url":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/6c02a6a98c4e3af746ab7ed7d366192cff2222b8.1505825623.git.christophe.leroy@c-s.fr/","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/projects/2/?format=json","name":"Linux PPC development","link_name":"linuxppc-dev","list_id":"linuxppc-dev.lists.ozlabs.org","list_email":"linuxppc-dev@lists.ozlabs.org","web_url":"https://github.com/linuxppc/wiki/wiki","scm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git","webscm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/","list_archive_url":"https://lore.kernel.org/linuxppc-dev/","list_archive_url_format":"https://lore.kernel.org/linuxppc-dev/{}/","commit_url_format":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"},"msgid":"<6c02a6a98c4e3af746ab7ed7d366192cff2222b8.1505825623.git.christophe.leroy@c-s.fr>","list_archive_url":"https://lore.kernel.org/linuxppc-dev/6c02a6a98c4e3af746ab7ed7d366192cff2222b8.1505825623.git.christophe.leroy@c-s.fr/","date":"2017-09-19T12:59:05","name":"[3/6] crypto: talitos - fix sha224","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":false,"hash":"3c2438d0b779df1c77a323dd185a5d8caed2e516","submitter":{"id":5234,"url":"http://patchwork.ozlabs.org/api/people/5234/?format=json","name":"Christophe Leroy","email":"christophe.leroy@c-s.fr"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/6c02a6a98c4e3af746ab7ed7d366192cff2222b8.1505825623.git.christophe.leroy@c-s.fr/mbox/","series":[{"id":3874,"url":"http://patchwork.ozlabs.org/api/series/3874/?format=json","web_url":"http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=3874","date":"2017-09-19T12:58:59","name":"crypto: talitos - various fixes","version":1,"mbox":"http://patchwork.ozlabs.org/series/3874/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/815525/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/815525/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxNQ43R5kz9s7g\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 19 Sep 2017 23:05:00 +1000 (AEST)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xxNQ42QgqzDrVZ\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 19 Sep 2017 23:05:00 +1000 (AEST)","from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xxNHK2P2nzDqXy\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue, 19 Sep 2017 22:59:09 +1000 (AEST)","from localhost (mailhub1-int [192.168.12.234])\n\tby localhost (Postfix) with ESMTP id 3xxNH53VLJz9ttBx;\n\tTue, 19 Sep 2017 14:58:57 +0200 (CEST)","from pegase1.c-s.fr ([192.168.12.234])\n\tby localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id ORmeCPl6U0Zy; Tue, 19 Sep 2017 14:58:57 +0200 (CEST)","from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192])\n\tby pegase1.c-s.fr (Postfix) with ESMTP id 3xxNH52pGbz9ttBd;\n\tTue, 19 Sep 2017 14:58:57 +0200 (CEST)","from localhost (localhost [127.0.0.1])\n\tby messagerie.si.c-s.fr (Postfix) with ESMTP id B433F8B828;\n\tTue, 19 Sep 2017 14:59:05 +0200 (CEST)","from messagerie.si.c-s.fr ([127.0.0.1])\n\tby localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new,\n\tport 10023)\n\twith ESMTP id e_GWyRrt8ZiZ; Tue, 19 Sep 2017 14:59:05 +0200 (CEST)","from po15668-vm-win7.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr\n\t[172.25.231.1])\n\tby messagerie.si.c-s.fr (Postfix) with ESMTP id 96A618B810;\n\tTue, 19 Sep 2017 14:59:05 +0200 (CEST)","by po15668-vm-win7.idsi0.si.c-s.fr (Postfix, from userid 0)\n\tid 87B51689A5; Tue, 19 Sep 2017 14:59:05 +0200 (CEST)"],"Authentication-Results":"ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=c-s.fr\n\t(client-ip=93.17.236.30; helo=pegase1.c-s.fr;\n\tenvelope-from=christophe.leroy@c-s.fr; receiver=<UNKNOWN>)","X-Virus-Scanned":["Debian amavisd-new at c-s.fr","amavisd-new at c-s.fr"],"Message-Id":"<6c02a6a98c4e3af746ab7ed7d366192cff2222b8.1505825623.git.christophe.leroy@c-s.fr>","In-Reply-To":"<cover.1505825623.git.christophe.leroy@c-s.fr>","References":"<cover.1505825623.git.christophe.leroy@c-s.fr>","From":"Christophe Leroy <christophe.leroy@c-s.fr>","Subject":"[PATCH 3/6] crypto: talitos - fix sha224","To":"Herbert Xu <herbert@gondor.apana.org.au>,\n\tDavid S. Miller <davem@davemloft.net>","Date":"Tue, 19 Sep 2017 14:59:05 +0200 (CEST)","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,\n\tlinux-crypto@vger.kernel.org","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"},"content":"Kernel crypto tests report the following error at startup\n\n[    2.752626] alg: hash: Test 4 failed for sha224-talitos\n[    2.757907] 00000000: 30 e2 86 e2 e7 8a dd 0d d7 eb 9f d5 83 fe f1 b0\n00000010: 2d 5a 6c a5 f9 55 ea fd 0e 72 05 22\n\nThis patch fixes it\n\nSigned-off-by: Christophe Leroy <christophe.leroy@c-s.fr>\n---\n drivers/crypto/talitos.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)","diff":"diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c\nindex 49f1561fa694..dff88838dce7 100644\n--- a/drivers/crypto/talitos.c\n+++ b/drivers/crypto/talitos.c\n@@ -1756,9 +1756,9 @@ static int common_nonsnoop_hash(struct talitos_edesc *edesc,\n \t\treq_ctx->swinit = 0;\n \t} else {\n \t\tdesc->ptr[1] = zero_entry;\n-\t\t/* Indicate next op is not the first. */\n-\t\treq_ctx->first = 0;\n \t}\n+\t/* Indicate next op is not the first. */\n+\treq_ctx->first = 0;\n \n \t/* HMAC key */\n \tif (ctx->keylen)\n","prefixes":["3/6"]}