Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2591764rwd; Fri, 19 May 2023 07:44:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6CYHMqmFHC5dUxiBNDuMwDrD0PT1CmdoDFYeygLu6vv+ipj1LAs2KLB9CAeQCRnoessfqH X-Received: by 2002:a05:6a20:a11c:b0:100:9eff:9b89 with SMTP id q28-20020a056a20a11c00b001009eff9b89mr2577918pzk.5.1684507452749; Fri, 19 May 2023 07:44:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684507452; cv=none; d=google.com; s=arc-20160816; b=vMvsArjA5Ud2Szsn2ZsF71GAiviKNq3qynhhKXE+yrBwinAofF9AkVqEJ8D1Cpxoxt tHymxT6/P5YuxGcDNXj4/le56BMGKzHQDu9Guh345vjOggLxK1gTUeGvxmNB/b6AHbGH MtlnLR04lsr8+rdPvfL+4DImJ0WmM+dvau612LI73pst9rvFjJJKYtRrFTAGv6eWbY1P +5rE6jITpbcYMLlkS9adQgJW6pZPxKZUjX97oUmUBWqi0prnpkMrOQCzHZ1BC0T2T9z+ tT9bsw+ciCinAXeIJ1O6hDyNAQRKrmdR7vVSXQf9We+KgzADiivqs6gU/UddZBGN0/II KG0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from:cc :content-language:references:to:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=ZPCIL09AOSqWQqhHIiNOjpVpg9ys42pH9qllL6EB20s=; b=pXReTgTGr7IK94vU+448j241pjkmJJpyQXJCIEfGKbh11xAZO19eTcj+fe72BJhwWt ShvFStxk52jVfpYQ3TWszBoEpFMv64V91wQ9QWAqViYoxQqJi9o1Ba4yIVKtp1I+sw15 LidflZVp3WtGOH/Ls80XVD5Djw5lHKO8lYIyH0J3MaKpzTSYhlRB2szUY3ypBXgjZ4YD LJkqV4s4s0iTO16k92JGkmRppULT+jd8YGBv8yJoBJQ2EARZx4ayMX/nDwibIehw1Q49 +Qld5zkU7NvMQJ+C94FUmXJ/th/uAGtYpAxmW+L1UYgiJuiAFxzF0k1NbLbOw2NKXC4k uaIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arista.com header.s=google header.b=KC0A8M82; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=arista.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x70-20020a638649000000b0051b59786e6csi4019374pgd.300.2023.05.19.07.43.52; Fri, 19 May 2023 07:44:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arista.com header.s=google header.b=KC0A8M82; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=arista.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232046AbjESOl6 (ORCPT + 99 others); Fri, 19 May 2023 10:41:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232032AbjESOl5 (ORCPT ); Fri, 19 May 2023 10:41:57 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB67613D for ; Fri, 19 May 2023 07:41:55 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3f4249b7badso33532365e9.3 for ; Fri, 19 May 2023 07:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arista.com; s=google; t=1684507314; x=1687099314; h=content-transfer-encoding:in-reply-to:from:cc:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=ZPCIL09AOSqWQqhHIiNOjpVpg9ys42pH9qllL6EB20s=; b=KC0A8M82FSRL/w3Z+0G8RLwuRw/Qk03zulwBFRg3/hdqlst759Rz4XGxUIbHwWBC7E fMPl8XZyRJQsIKyw/Wa9pZh//XpMcpfcca39syIFkTwWy3zcy+z1hjLmIcnixYqg7jqB ly/61l24DfCGYwaUOmhDUGyMiE8YagWB24R+0fsepwW2SERyDUdFIer47xEM6hjEeKyL J99UuswxuJx7VDawy/YNH7aVF3Wp0dnruIPsleqsHFqbG3jNBk1D0JDa88HKiG7mcvW7 JUrkvOcvMih8bgZznYc2dzP0syFcITerosfUuX3HSWiKW5q2rnPJxVdbadXUTcWCBRBd 8jzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684507314; x=1687099314; h=content-transfer-encoding:in-reply-to:from:cc:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZPCIL09AOSqWQqhHIiNOjpVpg9ys42pH9qllL6EB20s=; b=WybuyOyfoeTv/FEMD4bsiorb68qw2W/kSfeZEqmDm3gNKvDvj7ayMzu2M+gingqdjW XPvbA7xqFlh/d4svb2+fydg8I62eHV+cGcx464ljVoRxz4K5FMqqcTtYJM9FzGr+jmte /NOAPMUY4g5/eBRcUH8IBtCM8ZdTOAcKFRT/+ZxSLFbdWGSMxc21BViLGjce+5LruuSe sDFVTLCnvWBJxGB+1WnX4n1++epYM+y7ph4mUvv9dMXRbOsEGebN0mi9tilcL0OhTxzK z1wvWcBhj9bBR8XSkVX4TlgcC42+WAcS/16bjEUh7nUUo9uT68DSX/wsrso/NZXSjAVU ureQ== X-Gm-Message-State: AC+VfDz4ncIVfUuIrgKv8YH+mzJkvCGpO47wco8LJMGo9WIagpRfmU0d Prdn1bQ103zVjvJ5/dKyBFqVdw== X-Received: by 2002:a7b:cbc4:0:b0:3f4:21ff:b91f with SMTP id n4-20020a7bcbc4000000b003f421ffb91fmr1523271wmi.28.1684507314420; Fri, 19 May 2023 07:41:54 -0700 (PDT) Received: from [10.83.37.24] ([217.173.96.166]) by smtp.gmail.com with ESMTPSA id m25-20020a7bcb99000000b003f195d540d9sm2638102wmi.14.2023.05.19.07.41.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 May 2023 07:41:53 -0700 (PDT) Message-ID: <4f72f65f-80de-6e15-b314-a4a5e4410d88@arista.com> Date: Fri, 19 May 2023 15:41:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 3/3] crypto: cmac - Add support for cloning To: Herbert Xu References: Content-Language: en-US Cc: Linux Crypto Mailing List , linux-kernel@vger.kernel.org, David Ahern , Eric Dumazet , Paolo Abeni , Jakub Kicinski , "David S. Miller" , Dmitry Safonov <0x7f454c46@gmail.com>, Andy Lutomirski , Ard Biesheuvel , Bob Gilligan , Dan Carpenter , David Laight , Eric Biggers , "Eric W. Biederman" , Francesco Ruggeri , Ivan Delalande , Hideaki YOSHIFUJI , Leonard Crestez , Salam Noureddine , netdev@vger.kernel.org From: Dmitry Safonov In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Herbert, Thanks for the patches! On 5/19/23 09:28, Herbert Xu wrote: > Allow hmac to be cloned. The underlying cipher needs to support Small nit ^cmac > cloning by not having a cra_init function (all implementations of > aes that do not require a fallback can be cloned). > > Signed-off-by: Herbert Xu I'll remove per-CPU request allocations and base version7 on this. Thanks, Dmitry