Received: by 10.223.176.5 with SMTP id f5csp2938538wra; Mon, 29 Jan 2018 06:31:12 -0800 (PST) X-Google-Smtp-Source: AH8x226jGdfhLmxWy0A+T1O5bj4P8TR0FEp/mAhmKOARAdXKWHeETrQ3gJwKB5m92QW372RAVBj+ X-Received: by 10.99.190.76 with SMTP id g12mr4853698pgo.235.1517236271895; Mon, 29 Jan 2018 06:31:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517236271; cv=none; d=google.com; s=arc-20160816; b=h5yeAe5e+FPCGUu6T4F3QiGIe4fu2WrPY24SUPgOmGV05EFYG4vpQ/fvP8FcyClCZz UfODPZ1b7+8eb6DL+esO/7Onpc90JPczKe64x2Hgo+NINIy+ir7S0SXM95Qsej0glSd2 L7yfZRxN2CPfXCIqvm38aM+8MPafj4TsbXx+2gwvwlPU1mXhpUdxOaUTUZYpWSJV4dvI H9nHvcghmclDc8jIV9zsu3PHcN9aJvi5HKK+88+IUqfMQqOjlT0DS+nCx9yRt52IKYYu D7s6Mgg4k/9tgWtXsQ5yDQ/60tVdQRUn8A+nmuFxgZZKUnYZLTMonNgjb0z2JaWoMpsk YtHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=ehngHnLsMHBoDzuoJNH4eame2jcAy3zwpICJfW0iz/I=; b=q7RdLggGJ+44zjI7bM21CrKQbzWJpBUARIPHG+nVLhheN06a77mjrd+rVrM9j75W8B Cp+tTuQZKHkz338Km2g1RdzEoPxjm5o9lIMpRJBhjjh3Wr4YT7DBWYLxQzagSQoOR4A+ Edso7LS+ELnZVv+SyoAA+499C8sPMDNSIy2CwS5bZgakAQv4JCcgF/E5WdmPFfzhdjxh MTN92LMt5o4f2Po15taIMp2SrWCDuVxIQFuV5CZibEjlTfIl3lfQG71QMPMwdK0k8mhX CDhD7toqixs0dQfjqe25dEyfLaD6gfOvNBrBVHCm/4SgmJRs5cyaXJlUCrxshT9XG833 phEQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d17si2666255pgo.558.2018.01.29.06.30.57; Mon, 29 Jan 2018 06:31:11 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751972AbeA2OaF (ORCPT + 99 others); Mon, 29 Jan 2018 09:30:05 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:59999 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751256AbeA2OaB (ORCPT ); Mon, 29 Jan 2018 09:30:01 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w0TETJWN010314; Mon, 29 Jan 2018 15:29:31 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ft0t71t0v-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 29 Jan 2018 15:29:31 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 9D78631; Mon, 29 Jan 2018 14:29:30 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag7node2.st.com [10.75.127.20]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3CB682943; Mon, 29 Jan 2018 14:29:30 +0000 (GMT) Received: from lmecxl0602.lme.st.com (10.75.127.46) by SFHDAG7NODE2.st.com (10.75.127.20) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 29 Jan 2018 15:29:29 +0100 From: Lionel Debieve To: Herbert Xu , "David S . Miller" , Maxime Coquelin , Alexandre Torgue , , , CC: Benjamin Gaignard , Fabien Dessenne , Ludovic Barre , Lionel Debieve Subject: [PATCH 0/3] crypto: stm32/hash: Correction to improve robustness Date: Mon, 29 Jan 2018 15:28:08 +0100 Message-ID: <20180129142811.13273-1-lionel.Debieve@st.com> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG3NODE3.st.com (10.75.127.9) To SFHDAG7NODE2.st.com (10.75.127.20) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-29_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lionel Debieve Hi, This patch serie will improve global robustness for stm32-hash driver. Patch #1 is fixing dma-burst issue when configuration is not set. Patch #2 solves issue that occurs when irq append during final req processing. Patch #3 is fixing an issue that have been introduced while managing padding but breaking the padding length calculation by hardware to generate correct hash. Regards, Lionel Debieve (3): crypto: stm32/hash: avoid error if maxburst not defined crypto: stm32/hash: fix performance issues crypto: stm32/hash: rework padding length drivers/crypto/stm32/stm32-hash.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) -- 2.15.1