Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5185367ybe; Tue, 17 Sep 2019 04:11:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0F1zo7JpkHsYbqoWC6z58JKlJgr+ifjuJQ593wwvV2CQRm4O19nGACmjpVUS/9/FYp/EJ X-Received: by 2002:a17:906:860d:: with SMTP id o13mr4132672ejx.284.1568718682910; Tue, 17 Sep 2019 04:11:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568718682; cv=none; d=google.com; s=arc-20160816; b=d0TfwHe32AVK3i/e5RnTUH0EsG0mStoiEI9y77woeYYLd1KT8mdUGKhhWgOn7Di8Fe yXcg0g36ycQLXZJMZwYuyk49xlpJw2IHFXfU7GBx+W+iuvilR+/ZDGlhnJ1U5Z5Qv9Qo aIzJmNjMakPHQlsU7Fgf3FAHc9YuQgtI0yM/vE8sjr5htZ/jMc77XXRO6ueRa6Iccl6N awN/4Ksx0J0D/0mEh+OFz6dfwSBm6oIhYiELeyz6VD5+BGshZUEK+CoDkWcUYy+vQISg AfMBrwWa9kt4wZlSg8KZLhb0YWCu22JX+hOkcn3kgMiu+6GHwabqQlSvtQK+iFhOukRC diiA== 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=G02LwlPKPynNj/G3BL6DigwM7Y2+le3kWkvKJT0obCE=; b=eKdQj2K47T9DjiWDDJDdDLbBJqNYIxOwIA+JQivG7LX6NAoHdFUghrgKF6w7lOxd6C +CSgJBjgl4aegplk1NQ4RnkPYdu59BNTDZ3HTmVXZbMvKGZU2DSIEyvM8GsU3XQcz7C6 PtDEIkLBMxv6SkZRLnhYOoUAaLEw9qc4w7LttOzSCaaTXlN+W0sCIC6gFxGIleIGKtRz aoNTD7vAU/L82Lc/563KWQ7x21/5aY7t4dqVT4O09/J46Ktu0Vnneam5TxQ3PQE7f1+e ATMQcZKLf9jQmwpEp3I6mR8u6DdAXxoWO+mFB2/NKau6l/zKdd7leQB9KGCbfZd0IEAZ QEdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZafFi4pD; 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 n17si1071536edo.143.2019.09.17.04.10.57; Tue, 17 Sep 2019 04:11:22 -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=@gmail.com header.s=20161025 header.b=ZafFi4pD; 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 S1726335AbfIQLKy (ORCPT + 99 others); Tue, 17 Sep 2019 07:10:54 -0400 Received: from mail-ed1-f50.google.com ([209.85.208.50]:40328 "EHLO mail-ed1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726106AbfIQLKy (ORCPT ); Tue, 17 Sep 2019 07:10:54 -0400 Received: by mail-ed1-f50.google.com with SMTP id v38so2925246edm.7 for ; Tue, 17 Sep 2019 04:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=G02LwlPKPynNj/G3BL6DigwM7Y2+le3kWkvKJT0obCE=; b=ZafFi4pD+fWMxlkW61Y6fTknoN9qA4UH9k8IrajcsUeefuj1epgig82dXx/7b1OMQf FRWdMV+V9qyN5JLZYnHiKo6zB3TxLObCHVCqiPCm2ok3wtGrTiokpW9guI3KySklwfGO JZKKgqZg6JCxOluCchYFInPERtr1gdM4L7vEiDxXCuDTgTLv5x1g4WftKd2aelrUbMOn sbn9e3F4UBBk8izIhekd75mvNpb7G0bFNyHeFPGN6wicxiUcbbn8qQw8VLvRGS71n3FA 1j1SKuvFFuWMaRA+91O7syfZFKMIRb9QR5tXEQ781MkFsYgQ2tTpV2dsEw2nbOnsYmqk WWSA== 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=G02LwlPKPynNj/G3BL6DigwM7Y2+le3kWkvKJT0obCE=; b=efrLfyDK0JYHaUeT/zAWkVwCHP2iT7pprtUzsEBQ8YkyyWPBN4TUScC5IwivKman8w XEt8Tymu48eod0R4KmNEHtfRUAv8OOlUu9ULBRxGkD09NB2kYfKa2ngs9CX9UGDITKmM duqGCFIbGs9Gml4vPN4ePuUKcsdPu/0evsANMrNlzO2y3tRFkf/pU2el54m2ER5XLGtt 3psEr8IdhE1zMHZ+80f87a/6jCAYqp0hthzZhGpP2KbGTT3NHEEqSZuCus24t3OStl0w OmpPlMoUYZ7tgtVuDLXOtm83HgWFapqtOosmn/pG+HD6CYb0Tew+xBfr+N9o6GYG1ISY oe3Q== X-Gm-Message-State: APjAAAVYxLPyJf5l3Yiq+UhdiBEI02v0Yk0tT8VtAsyvj9dLowlGOLhc Am+tr/LIG5zLv6bXturuib+X/rkZ X-Received: by 2002:aa7:df14:: with SMTP id c20mr3993646edy.133.1568718651049; Tue, 17 Sep 2019 04:10:51 -0700 (PDT) Received: from localhost.localdomain.com ([188.204.2.113]) by smtp.gmail.com with ESMTPSA id a50sm376204eda.25.2019.09.17.04.10.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Sep 2019 04:10:50 -0700 (PDT) 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 - Add ESP GCM/GMAC/CCM variants Date: Tue, 17 Sep 2019 12:07:58 +0200 Message-Id: <1568714881-30426-1-git-send-email-pvanleeuwen@verimatrix.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 adds support for the rfc4106(gcm(aes)), rfc4543(gcm(aes)) and rfc4309(ccm(aes)) ciphersuites intended for IPsec ESP acceleration. The patchset has been tested with the eip197c_iewxkbc configuration on the Xilinx VCU118 development boardi as well as on the Macchiatobin board, including the testmgr extra tests. Pascal van Leeuwen (3): crypto: inside-secure - Added support for the rfc4106(gcm(aes)) AEAD crypto: inside-secure - Added support for the rfc4543(gcm(aes)) "AEAD" crypto: inside-secure - Added support for the rfc4309(ccm(aes)) AEAD drivers/crypto/inside-secure/safexcel.c | 3 + drivers/crypto/inside-secure/safexcel.h | 8 +- drivers/crypto/inside-secure/safexcel_cipher.c | 355 ++++++++++++++++++++----- 3 files changed, 295 insertions(+), 71 deletions(-) -- 1.8.3.1