From patchwork Thu Feb 16 10:34:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herbert Xu X-Patchwork-Id: 654179 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 C1A03C61DA4 for ; Thu, 16 Feb 2023 11:04:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229606AbjBPLEk (ORCPT ); Thu, 16 Feb 2023 06:04:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229819AbjBPLEj (ORCPT ); Thu, 16 Feb 2023 06:04:39 -0500 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E37CBA for ; Thu, 16 Feb 2023 03:04:38 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1pSbag-00BwGl-C5; Thu, 16 Feb 2023 18:34:15 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Thu, 16 Feb 2023 18:34:14 +0800 Date: Thu, 16 Feb 2023 18:34:14 +0800 From: Herbert Xu To: Linux Crypto Mailing List , Eric Biggers Subject: [v2 PATCH 0/10] crypto: api - Restructure stats code Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org v2 changes: - Move crypto_alg back to the end, crypto_instance requires this. - Remove statesize check from shash (digest_null breaks this). - Remove unnecessary local cryptlen from aead. - Remove redundant __maybe_unused prototypes. The stats code resurrected the unions from the early days of kernel crypto. This patch series moves them into the individual crypto algorithm type structures. The last two patches are minor clean-ups. Cheers,