From patchwork Tue Jan 10 13:50:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Whitchurch X-Patchwork-Id: 642756 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1306C678D5 for ; Tue, 10 Jan 2023 13:51:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238290AbjAJNvX (ORCPT ); Tue, 10 Jan 2023 08:51:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238366AbjAJNvD (ORCPT ); Tue, 10 Jan 2023 08:51:03 -0500 Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEBCA6267; Tue, 10 Jan 2023 05:50:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1673358659; x=1704894659; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=fcYKp/hSCbvm2T2T8NQjOikt8LYmhEuOniPEBy7bp60=; b=Jl3nETbG0uNtdqXoqPCJ4qE5e0P4P0dCxVEi8NQqpOPTQL4V5lKjZ7zo PLFMx0TWDNWjpuyM8K0JAY5tAq58MUbXoqLbu1omxV/3qfg9K2ts2kvpr zkP/E8ITUdHhVamHEvFR4GzKvNaSJbYrmXYQE1rZVqF9CS4u9rhimq/Mz 3UmYoDQHzn0s1cdKQGC6i/Mj+qVHN50jJGn8g0NIcfdSGt/uWWszK1/fR sEO2kl9Ccku+IcRA5BXCHTDu+GbFJihhfcWE6JqwlvRfbY7cVUT2t17VY 7e5AOncNAtdku5keXf0yn3k92am04GlEwIipa1JhOm4PdxCRMzsmoIAXj g==; From: Vincent Whitchurch To: , , , CC: , Vincent Whitchurch , , Subject: [PATCH 00/12] crypto: axis - make tests pass Date: Tue, 10 Jan 2023 14:50:30 +0100 Message-ID: <20230110135042.2940847-1-vincent.whitchurch@axis.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This series fixes some problems in the ARTPEC-6 crypto driver. After this series both the self tests and several dozen rounds of the random tests enabled with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS pass. There are also a couple of fixes for problems seen when using this driver along with CIFS. Cc: linux-crypto@vger.kernel.org Cc: linux-kernel@vger.kernel.org Lars Persson (1): crypto: axis - do not DMA to ahash_request.result Vincent Whitchurch (11): crypto: axis - do not DMA to IV crypto: axis - fix CTR output IV crypto: axis - fix in-place CBC output IV crypto: axis - validate AEAD authsize crypto: axis - reject invalid sizes crypto: axis - fix XTS blocksize crypto: axis - add skcipher fallback crypto: axis - add fallback for AEAD crypto: axis - fix XTS unaligned block size handling crypto: axis - handle zero cryptlen crypto: axis - allow small size for AEAD drivers/crypto/Kconfig | 4 + drivers/crypto/axis/artpec6_crypto.c | 288 ++++++++++++++++++++++----- 2 files changed, 239 insertions(+), 53 deletions(-)