Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3872446rdb; Thu, 14 Sep 2023 05:31:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFv11HeIGufPGpUuZqqYs983aX7avPjFNz3omo/R4O2L8fqdcGAmOw/ovlPXpUXajVy5M9H X-Received: by 2002:a17:90a:8a92:b0:268:81c6:a01f with SMTP id x18-20020a17090a8a9200b0026881c6a01fmr5074085pjn.26.1694694703416; Thu, 14 Sep 2023 05:31:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694694703; cv=none; d=google.com; s=arc-20160816; b=m1PHCAykoqZSCm+X5jGySRNiMfX80EAXWrAKNIZ5B5qNcYfSoMkcvemJMDyMrFPM0e Xz3IZiWknx6fLCBAjuw7MyFawHNvFLSRheGUXWBIUagy+J+li5BPFFHoEJHcDqYsf2rW WFOwVTCY37M4tT1UVUlH/sKxr50xpxkTLlJg1XQ3MrkgTyyvsdIJeDLcivKQYB3DUjn9 3bOGcP41PeGgasJ4Z2CHaAKDRCMMmGCNm6rrOQ9+WpMV++sIXyiYoFSMXfFxTmW7DxRf HbxYnj7s4taE7LPwa7avb3XY2ORdpFpcPRhl1yUQ8iyjCJDDRwEz+fCs8VgTBNTFUGDb 2kjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=DX+szOONGw3oPdGurZDyUJB73s9XYVYsx0LcmlQVVlc=; fh=okneah7i9WVE7NFkyyxtFud/d0rWX8LR4CpF9Ro7Ixg=; b=qAIIEeUPPD4QoyxnBsuJsMVBjkxRcTDhotMKSr9MJVY6eApiE44ac8bSrDG6ZiWUF2 TwYeTFOBvFbKikJ50qZYYOxWlpOFc099mI4CWjL5cepuLvMF0JkM53n8xOvDUf0+tS16 vYhcvptD3eEDX7iKRBTUdbAgy4LIuxWBMdp2/TUXgvSlB2J03/GeUUGDO0vspiQfXpfu UV8x5Dp1lCSKhGSQWOxRZybeCm+1vdUg4RvTE45EgbyCn0EGzmsLxX47aSH/wCmVSyfa QOZpp50GEX09QjtcJv2C2QVvwWymiLuzI5lUm8KL/jkVlcocDl9ywrJuMFVa7C3SCz1S Kg8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=k6mcKWi5; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id g20-20020a17090a579400b00263220254e2si1521272pji.41.2023.09.14.05.31.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 05:31:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=k6mcKWi5; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 1E92980DB4FE; Thu, 14 Sep 2023 02:32:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235604AbjINJcJ (ORCPT + 99 others); Thu, 14 Sep 2023 05:32:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236830AbjINJcI (ORCPT ); Thu, 14 Sep 2023 05:32:08 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5E841BEF for ; Thu, 14 Sep 2023 02:32:04 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1c1e780aa95so5249995ad.3 for ; Thu, 14 Sep 2023 02:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694683924; x=1695288724; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=DX+szOONGw3oPdGurZDyUJB73s9XYVYsx0LcmlQVVlc=; b=k6mcKWi5QbxQzKsdtSrI5eiOztjs3/g9MJfwtPhrP2QiwjdI3+WM+jrPfgY2YHdlNh 7ysyC0ev9tCcf0f84I78fw7HL3AX6h7u1seo+EiKzhHHZgP2PtBVNHMPydMo3s418BDF SEq43s5vn9sUZGIh3rvNWUOssv7rvgrCwhT11NzI4uRK920JoAGN5XVeWSzB4TUC8x1m IXmXVVRKAcTLJZzPLUBcrMNXxnZBM4vC/ANtJoFEcWXcaNPephwniQFg69jFyl30/Ji6 VpK02oAHb4PoR7Hi05FMKjTUUNrBl141cpfBKb5JzIVgMXjP9j8w0KhhyNmwzP1/3ot2 CCuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694683924; x=1695288724; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DX+szOONGw3oPdGurZDyUJB73s9XYVYsx0LcmlQVVlc=; b=D4GY9kewpxvLsQEpISSN3thwxfKW3rF+QPD7DlM7U0YmCEuutSbjetVlAQ9R1aQbaM ws2R2XR8mYTabkkRdFV2NUS8wBXFyDbizN+tsz3nNw26bBE4C9SdrEq4RDk1hPLUtKfJ qQjEi2vfPHKuSr3jtEw0w5/TT3FGew/CKQiTG77eYxKy/EJCpBc/QNX3GSYpEExJx5ry 3+MpFQ9YIo7w8CBCIe4NfcXxkermMvAo9MPp2W2aUlF8Y0ifpkaQFmomVgwypFiiwTMJ Dt52U1KFHWJY4q5udg4LbeGRgP2XtuRbAkcBwHh5cM11UVWliJPxyRqwn+5akPPnnMGE DHMA== X-Gm-Message-State: AOJu0Yx3HmRI3hbVHS0KXjbQ2iYCcCzwcL2vGcMRYYBIwFfPhCL893Q/ m2241+loxZrQ3BuT2a0igVw= X-Received: by 2002:a17:902:efca:b0:1b6:649b:92cc with SMTP id ja10-20020a170902efca00b001b6649b92ccmr3914919plb.69.1694683924034; Thu, 14 Sep 2023 02:32:04 -0700 (PDT) Received: from gondor.apana.org.au ([2404:c804:1b2a:5507:c00a:8aff:fe00:b003]) by smtp.gmail.com with ESMTPSA id k6-20020a170902694600b001b801044466sm1111088plt.114.2023.09.14.02.32.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 02:32:03 -0700 (PDT) Sender: Herbert Xu Date: Thu, 14 Sep 2023 17:32:03 +0800 From: Herbert Xu To: Ard Biesheuvel Cc: Linux Crypto Mailing List Subject: Re: [PATCH 0/8] crypto: Add lskcipher API type Message-ID: References: <20230914082828.895403-1-herbert@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 (morse.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:32:06 -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 morse.vger.email On Thu, Sep 14, 2023 at 11:18:00AM +0200, Ard Biesheuvel wrote: > > > +static struct lskcipher_alg aes_alg = { > > + .co = { > > + .base.cra_name = "aes", > > So this means that the base name will be aes, not ecb(aes), right? Yes this will be called "aes". If someone asks for "ecb(aes)" that will instantiate the ecb template which will construct a new algorithm with the same function pointers as the original. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt