Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp862511ybl; Wed, 11 Dec 2019 08:37:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwYNd+toV0sc68HCuJTnQOZubUHbNX9L88w2vY/JIkIFBRKDuEPp/UIRHVuyCUAFOZ89aAG X-Received: by 2002:aca:cdca:: with SMTP id d193mr3529702oig.152.1576082267447; Wed, 11 Dec 2019 08:37:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576082267; cv=none; d=google.com; s=arc-20160816; b=Pvrdqvl0LyGO62Dc1+6M6sQddKSZmMt26RJAt2+3A/3a5fprHewQ870p6JxJN4x7em Ion84cGwPuvnqGvXmKRlqHh/24EVCqsQNmlhhmrmU/PliuZtFBcvog3gd/6U6HjxrQBg Fw6vDgcfwkFRZMuKhi/iW6TgmEYcIMbAIbi30OJ08CqqnSt//Jz3FwbLKcnEi+J7peqH 3EaOICXNe1UAE25I+oN0AATAaCAQp6fqCaN7JDILXZr80YHNdWXM4btApW+UoD3e1mD3 LEmZuS7zRH6rKgXH/jP4QQdbULLRgPWN5GTIMRqcoglgpVEVGG6lLfOQ9H0LNToMC1qY /Emw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=ZUl06BYxk7D/rljPXJgV9taUy2fMktlYeZWLjsgd0Wg=; b=msWiABe0OWACBs7uGDPrYALbhlCyCpnRdDT6X0f5aw7hz57ccMMadrG8mpFrKW877s 4TdjbYJz3E+VJeIyo1059cWXmPfRVBwlaRZknVUwBs1R+uRmxC71CgOtxFizVFY01jw/ r+wq4gdXRdrpu/tFjhGHl3aRLdqgd34Dy1vVYw0FEif9hnV1nIBxU6Q0RyZ5O8/GrS7T zyVw28R+seGov6V3QXWLT5gtPjAkcOA+IZZflgL1Tv0efB+T8+VSye6wl+mGGcyH5MCn l57Tf6uamD2KPhyMKKEbaG5v3rLUtMusiwH1HGdxnYR0hpdSN1/L2Ej6Y63NBYqe5Sqw sceg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DngTiWL+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a14si1645132otk.2.2019.12.11.08.37.35; Wed, 11 Dec 2019 08:37:47 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=DngTiWL+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730070AbfLKQf7 (ORCPT + 99 others); Wed, 11 Dec 2019 11:35:59 -0500 Received: from mail-wr1-f41.google.com ([209.85.221.41]:40758 "EHLO mail-wr1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729260AbfLKQf7 (ORCPT ); Wed, 11 Dec 2019 11:35:59 -0500 Received: by mail-wr1-f41.google.com with SMTP id c14so24732501wrn.7 for ; Wed, 11 Dec 2019 08:35:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ZUl06BYxk7D/rljPXJgV9taUy2fMktlYeZWLjsgd0Wg=; b=DngTiWL+U05E0/+55Ly4dmthhEF4z/D/Mn2RduDEfmzy/IFc/jVfRhJRvqO8+qgtdN b4e8y/AQVPMOMHyOU8VJ23QAHCBkTgkPc5FKp2DSnfpO7RSb7LrpKrarvj6+CpLH2JuY 951X8Szez5HWVMxeYL1jj2R4rwOVzdxymOaost0dSTLSAhYoPsljWEWsh+jwPn+dqqml 4Mp1pz+8ym6yqsOC9m2C233Vvyuf8THAWDOwFWvmsR2+xL8AM47q7pGQ9O4zhiqvmz9c Ykb3Dz9YhR7POTwzSyyHIc5iplGj3v1JoqEXnD/I3PdeV30VgzTjOUlngEVXzpF+DJOQ r0vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZUl06BYxk7D/rljPXJgV9taUy2fMktlYeZWLjsgd0Wg=; b=R/UT7aEk8j3q5nkBLwdZPcEzQg5Uij+LOXNg48Y37sRALqKznZxcxzsPBD1B5UYpMi csXKfO1jhpbGD6HvWoR6dwyElKiRE+DZABIjbc1zt/rzKSNsqKcGecDAU0k5T+MHesOh qcLenSbAy2tDgyhpwMMxnJy+3E/IsjBPwgueorxiF/DpEIsW5LY/dqzahVLAHjqPdRgi 0CcU/DWQvSCs4reskTNNE6f1Ttq+fJ2th1zXH8Bp0S2DJVulyGbY/4bfBmO2xel0oq4u v7Ek1pfeGzMRVq4rL8+MykHJLOIzu8p2O4Bd8b1oPVWSlWcpFupEkfLLRD5at3O+AWTM 3XWA== X-Gm-Message-State: APjAAAV851Ck6dtY8LCEIkIFilHt38Yz19HBJf5jTWAoslhFuUwZ1d/O KIGpdNFBsEPkKVs1o0mxLUC+KmdCFfA7Kg== X-Received: by 2002:a5d:4a91:: with SMTP id o17mr792383wrq.232.1576082156691; Wed, 11 Dec 2019 08:35:56 -0800 (PST) Received: from localhost.localdomain.com ([31.149.181.161]) by smtp.gmail.com with ESMTPSA id o19sm2162405wmc.18.2019.12.11.08.35.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Dec 2019 08:35:55 -0800 (PST) From: Pascal van Leeuwen X-Google-Original-From: Pascal van Leeuwen To: linux-crypto@vger.kernel.org Cc: antoine.tenart@bootlin.com, herbert@gondor.apana.org.au, davem@davemloft.net, Pascal van Leeuwen Subject: [PATCH 0/3] crypto: inside-secure - Made driver work on EIP97 Date: Wed, 11 Dec 2019 17:32:34 +0100 Message-Id: <1576081957-5971-1-git-send-email-pvanleeuwen@rambus.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patchset fixes various errors and hang cases that occurred when running the crypto self-tests, and in particular the extra tests, on an EIP97 type engine (e.g. Marvell Armada 3700LP as used on EspressoBin) Tested on Macchiatobin, EspressoBin (thanks, Antoine Tenart), EIP97HW2.3 and EIP197HW3.2 on the Xilinx VCU118 FPGA development board. Pascal van Leeuwen (3): crypto: inside-secure - Fix Unable to fit even 1 command desc error w/ EIP97 crypto: inside-secure - Fix hang case on EIP97 with zero length input data crypto: inside-secure - Fix hang case on EIP97 with basic DES/3DES ops drivers/crypto/inside-secure/safexcel.c | 12 +- drivers/crypto/inside-secure/safexcel.h | 34 +- drivers/crypto/inside-secure/safexcel_cipher.c | 552 +++++++++++++++---------- drivers/crypto/inside-secure/safexcel_hash.c | 14 +- drivers/crypto/inside-secure/safexcel_ring.c | 130 ++++-- 5 files changed, 473 insertions(+), 269 deletions(-) -- 1.8.3.1