Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3770691rdb; Thu, 14 Sep 2023 01:57:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHznk7Z/NpsKtQPc17QWFgEnOj+geBVhzH8SadiT7fXuvg+7qM86TrnKmpquV7qHEtKCBZH X-Received: by 2002:a05:6358:5920:b0:134:d78f:67bc with SMTP id g32-20020a056358592000b00134d78f67bcmr5973589rwf.14.1694681836875; Thu, 14 Sep 2023 01:57:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694681836; cv=none; d=google.com; s=arc-20160816; b=RC23l51Hwsf90ijl5ZUaw4hnYoB6ZNLsZaJaDliMiwHjNjRlH/Vry3GU4CfVSDZCzi NJbSODcOr9V4tvk+VC52Q//tS620amD88/ln5823rxCVpN6o3VjXQWR4yrRC3bVU9hLN zTLbFhqOCfWmSAQNpHjIxqC0CTiWWmqLpHh8/psd6jhxwgFs5tMdEGpkidkbkHuEYvxw ZSAiyJCu5gId/lQlpz2D39MRPkkkBdtJBQY3UKzjc1E+7k62JiIPvxNDh2rfXfsyx/P/ hG48UGBYQs0330vu87pNEGv9GUPQK4ODeTPE92TIHkuy2pWDIuJhaUSXtzZveAxtLu7w uCqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=vNYD+fBOqLIjCnYaCF24bvaAM7+rA3DL+RIob1Ylwrs=; fh=4tfMtIlwPZI19DAizsta/+tnqD+bc5RGCYEvvk+baVs=; b=rONSDFNJmen69nDnwz5gaeIJV016wpOT1T3KRQpJDWcIlKMgR3Wwl6sT+dLWPyWumC lrJvHIMIzzfSWHdztta626A0JqT/xPtnfALbGfmBiCU9CX9nvWQn3PXMFMmD9UY4iJu4 TIEzQ3nR6wx7PmNNx5q20fgo9Xf1aDOdG1tnTsSvm0E3zL3YE5qlPSCg/R0TlQcL3cBu d4yuUsw4wpVy6bmumQO0XvNuiweNaG9hcjvGsMZAWGpL7R5KhrzDyJz+LxCzcTZGj+/0 MJc+AEtJRXWJqz3cRC2vSWeixoKrKvset7GI9QpkZIebnvmQYHGh19hxOz9iFT6fWVtL kMxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Ue9ulvsF; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id a11-20020a65640b000000b00577f7c8db80si1041169pgv.372.2023.09.14.01.57.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 01:57:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Ue9ulvsF; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 8CAB381F54C3; Thu, 14 Sep 2023 01:28:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236567AbjINI2n (ORCPT + 99 others); Thu, 14 Sep 2023 04:28:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236418AbjINI2d (ORCPT ); Thu, 14 Sep 2023 04:28:33 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 818791FC2 for ; Thu, 14 Sep 2023 01:28:29 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-2747b49cac4so124578a91.0 for ; Thu, 14 Sep 2023 01:28:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694680109; x=1695284909; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=vNYD+fBOqLIjCnYaCF24bvaAM7+rA3DL+RIob1Ylwrs=; b=Ue9ulvsFcvx0Ss+kGIb/7ncVhJI2alaEOwrBvyP6pIEzuCfyVdKHxsz22nkn8sFnaU FtMsjRU+GrKcm2Nx1/dBe40nJi81icbQRpCChx5adUNR4N4PJ4OQXi6Q50zK2wTIENfJ MBFKiJRdXwd3HBAbW2ITal0c8LfSY6tCW5lhIh1CiaX5Py/7IvN1yeAEsRR0vJgbJJUn D8R4MrSbyADUFH6QclGM+VfCc4nXVUzhUfdUwRhzBvZML5uQW1e9e/p0mLuCdKksWB9x eetcuMvxqHWnRUeAyy8oZYKR/B8kvDZWZsuHJ6WH/Yo8v0FdyWGkbYtAGZxOt+8Hap2o 3pAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694680109; x=1695284909; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vNYD+fBOqLIjCnYaCF24bvaAM7+rA3DL+RIob1Ylwrs=; b=NnWV3n+qFfPKcH830k6qIIu5kA/QqUAIQwVJ32utFe983uEvi0fIyxAkSx11k8xe3J TBzW09lvovJRtogGgxw8Kl1JXxymFhv5nnjH3x2DT8OMuzqw7h7LZLDF28mmK6IFcX/B JnezoL5qRkS9R9nc5Tq2VgKUDk1yDcewC/SP+JfLiJkZuMW08DS2+Ws3O/jXdSZkzSpi jfP2jYy3/sAS1G2wWilP80e8piwmBGYJcROX+BMYLuu1hkeBwrwuUozYfVIHessw+hRD XOFu/29kjNiqSsFEznO5apFJg9fIhvurDW6ryRtgHWGGdlQ2Z/boT/JQIR7vU0kcpJBK q29g== X-Gm-Message-State: AOJu0Yz80/aHtuhLtzi9BuNjDTgZWM0T7Cjh+0S3Fuq+EJh29psT31Z+ x2IYmevq00IGyvcWELApkOuXW+MZnHw= X-Received: by 2002:a17:90a:df15:b0:26d:20b8:445d with SMTP id gp21-20020a17090adf1500b0026d20b8445dmr4463777pjb.9.1694680108723; Thu, 14 Sep 2023 01:28:28 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([2404:c804:1b2a:5507:c00a:8aff:fe00:b003]) by smtp.gmail.com with ESMTPSA id b13-20020a170902d50d00b001bba3a4888bsm976242plg.102.2023.09.14.01.28.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 01:28:28 -0700 (PDT) Sender: Herbert Xu From: Herbert Xu To: Linux Crypto Mailing List Cc: Ard Biesheuvel Subject: [PATCH 0/8] crypto: Add lskcipher API type Date: Thu, 14 Sep 2023 16:28:20 +0800 Message-Id: <20230914082828.895403-1-herbert@gondor.apana.org.au> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 14 Sep 2023 01:28:42 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email This series introduces the lskcipher API type. Its relationship to skcipher is the same as that between shash and ahash. This series only converts ecb and cbc to the new algorithm type. Once all templates have been moved over, we can then convert the cipher implementations such as aes-generic. Ard, if you have some spare cycles you can help with either the templates or the cipher algorithm conversions. The latter will be applied once the templates have been completely moved over. Just let me know which ones you'd like to do so I won't touch them. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt