Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3187903ybd; Fri, 28 Jun 2019 04:27:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvFzbogBTCRFMHhAADOORLaDyZReYhzVDfn5FnigOlt+aWQ6Bhk0joi2m4cFkkF+xjJXvD X-Received: by 2002:a17:90a:37ac:: with SMTP id v41mr12037384pjb.6.1561721260515; Fri, 28 Jun 2019 04:27:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561721260; cv=none; d=google.com; s=arc-20160816; b=rB3EK01WRNQrWBad69F6Ki4Rt0yVbB9mvrqxD5pazwKSbQYB874+rmll61REW830Mj Py7K8/9o3plc80nfruwUk+EV/wUbUZylb9YTKONdHFSQIwuW3ID/MPQdwm0PZitx9gLs rRXOcl2E25oLdDvTTMTZvPbTWHTxeb0mX8VHUGrppIQ2XPEWPOq6Pm3J4L+Bukb85uar 74vMaDXhc8SBswQBFpToYhskez6wcfecdYGb628wxtRYQjzCOYLbBPS3u+tOZQv3Q2rH BRrhxlOJG+L7QLxMukfkmCaPb0cZ4L2JcO9M7KsFF5pDQCdHnElK+qOtl949dcIM4T1W mSdg== 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:dkim-signature; bh=gTP6fqkfQDGZanlx4ouycdMtZDyDqTFhDA9SvwI/c5k=; b=BluKdjJkedoO00esdLzi5jrSnskTOE2orskGchYM/Wx48QKYtYKTHmc4oe1GiJboof U2zYiMOcAyKqO9RVKpE386WlqWLvowFi7+ynFLqQJMJND1+AbV0TsvIf94N2IYRMm2Lp 5m8/+bPshWLYi4Wb7HSXUK7IL/3DHBi3ZGRSVcNsp7ibO3UW7ioJ69+w4Gm9mv5ZZTzX x55AV81I0uMLJKQR0MTv1+EY098S1xFMt9IpIUnCKPz9knAOJXpFWeriR4qqcZeyikwK qQI1dqEjLEdm/2edC/peEOD8PkXNsFKhgvvrgee3SfPHhBXoh+nVjnTy10kVzVW/fPnG 1/9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=pfCM7MWb; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 g35si2007735pje.73.2019.06.28.04.27.26; Fri, 28 Jun 2019 04:27:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=pfCM7MWb; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726785AbfF1L1Z (ORCPT + 99 others); Fri, 28 Jun 2019 07:27:25 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:27578 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726524AbfF1L1Z (ORCPT ); Fri, 28 Jun 2019 07:27:25 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5SBPqOZ020529; Fri, 28 Jun 2019 13:27:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=gTP6fqkfQDGZanlx4ouycdMtZDyDqTFhDA9SvwI/c5k=; b=pfCM7MWbb6FtekqDKmEJxtxRuMl5sVREDBBbAUCkXYhErunReAjYqiMpSMvhITzG5L/Z eIP+yhhT9zDlSQ3m62Uxh68JS520Mf59RwAa4G//G/S+hREqF1hGjyrGcztZvlBnAj12 LAsP+fDrggFcBXASrXRPJTlwSGDCzwVExRohoEE6EzGPd8B4pnQQjQ1HJvkLatpNYoRs lwsEbMAKPlI23IU9aZehrSBQ/NiGDJ321gvpL9xLd/EL9S4fjkNx2w3zfs/OJ3oyVk/j ey5tF80ep/TGpZbOzeLes48gMKHSKYYMr2Xi10RyxnnbNU6mnoZRDLxhTovCPalf3vJb Gw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2tcyq0e4kq-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 28 Jun 2019 13:27:13 +0200 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 48DE031; Fri, 28 Jun 2019 11:27:13 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 275CF27A5; Fri, 28 Jun 2019 11:27:13 +0000 (GMT) Received: from SAFEX1HUBCAS22.st.com (10.75.90.93) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 28 Jun 2019 13:27:13 +0200 Received: from localhost (10.201.23.65) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 28 Jun 2019 13:27:12 +0200 From: Lionel Debieve To: Herbert Xu , "David S . Miller" , Maxime Coquelin , "Alexandre Torgue" , , , CC: Benjamin Gaignard , Fabien Dessenne , Ludovic Barre , Subject: [PATCH 0/2] crypto: stm32/hash: Fix bug in hmac mode Date: Fri, 28 Jun 2019 13:26:53 +0200 Message-ID: <20190628112655.9341-1-lionel.debieve@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.201.23.65] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-28_04:,, signatures=0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This series fixes issues discovered while using libkcapi library. Some more tests show wrong key management in hmac mode. It is fixes by these patches and prevent a potential issue in case of interrupt while processing in dma mode. Lionel Debieve (2): crypto: stm32/hash: Fix hmac issue more than 256 bytes crypto: stm32/hash: remove interruptible condition for dma drivers/crypto/stm32/stm32-hash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.17.1