Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4908059iob; Mon, 9 May 2022 04:37:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyD3iARPEGaoGP8Y3JE2JdI6NTUKwlLWN4m6bBahjDiaN1Z5Ztw48qludLsOo4BfCfkB90 X-Received: by 2002:a17:90b:1642:b0:1dc:6419:43ff with SMTP id il2-20020a17090b164200b001dc641943ffmr17855902pjb.229.1652096245289; Mon, 09 May 2022 04:37:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652096245; cv=none; d=google.com; s=arc-20160816; b=aR3/GhVE7LeWF+RU7UUumC7eIdTlXWkAkyZrKrUCyaiYZXu0K954K7JCav3Oy4+0Jz xK2rS3MzMCrlLtZ6ecnvwOhwFVSgRsMOoL7HuH+AHQGX2mUjIDjVdml42Gxpgibt09ZQ 6/OH1QkYAv3alnlU+8j3ugr62uI8FztHkmYQ3wsAsF2flF58ZlZpFvT1RpHCmdsdDK/4 XEU2+ZJvzooL3gUm3qS/G6hxTVdnGKHTLL8knrQovRa14YBs2EhFlD1MVSXlp7OzpecV gqBFEoCt+x2dV3/r6l9JwNcYUjitR/oWPz1nWb/Ag/jJL0YRfIoiu4524Xi7dqJPDFye B06w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8rAG+hhLyyADjfWKc/qIMa3fRClDqyFw6+rAc7ZUweE=; b=CPdNnkvBpq18EqLi9x5qiVIJxtF+ZkI9yyFHPYEwodXFwZg9XnRgUtK7wNr9URg2sR JkBQUbhm5hDjtT2YjOX4H6xCuu6cMPF+Mn+urgk3ATCBfLJKHU8+h95Ro6Q7IBbRR86j VOLc5Hqf6524Yh2CHIHkOL/U6gvzwwz3MTaUQpaN0HeuFEqMK2SHTZpOriwU+A68wNjt DqhkrpPMEQmj+oJt63BfawElKHRWNffxpyzrR2G0wkdzOz72r6Bpml3kgx/jJnh4Kh+r kOwHGQFNaOkyHvUFVNB1hGXpZonpVXEyavWhjJHVUokC7yk4S9htFHAHsoEmv/VJTyYq XePA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TBY0qSgr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k16-20020a056a00135000b005104fe7eeefsi14824929pfu.108.2022.05.09.04.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 04:37:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TBY0qSgr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 336B726BCA1; Mon, 9 May 2022 03:41:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232996AbiEIKVm (ORCPT + 99 others); Mon, 9 May 2022 06:21:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234121AbiEIKVO (ORCPT ); Mon, 9 May 2022 06:21:14 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6810A18430F for ; Mon, 9 May 2022 03:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652091438; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=8rAG+hhLyyADjfWKc/qIMa3fRClDqyFw6+rAc7ZUweE=; b=TBY0qSgrMGaSblfpeABrbY52GYWqUpAD6/5ERWkmHINoqzkTfYmNY854ethXRQjzU3uNIm IA2egAh9lQVLHeyi/z7ejkUHwzpJ6ZNLSDkA/79Ch6/3vBUlWaOcz0kltJGz2iTN4KPcwE EIwojyGUMPiaVFIJ/Zkk/b2ad2FqFpg= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-209-L_zjo35DOUi2bLfkt6TIZQ-1; Mon, 09 May 2022 06:17:17 -0400 X-MC-Unique: L_zjo35DOUi2bLfkt6TIZQ-1 Received: by mail-ej1-f70.google.com with SMTP id qa15-20020a170907868f00b006f4c89bf2e3so6305402ejc.9 for ; Mon, 09 May 2022 03:17:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8rAG+hhLyyADjfWKc/qIMa3fRClDqyFw6+rAc7ZUweE=; b=1ZQ6nr07egpGvR4wynCeqpQdxePXsfrWGXLtcXsTQeaFbNariLYTSbyDPZTV+5aaGC zTf2OsoqHuQa/q1sC/e2IjN80lbl0fKB/Lr+CtE5oAL2CRmSD2ARea2ksOkVzibFKfZ6 Ke69OUa22P6R/vTsWSCJ72byAxs1isc3GQL5IobecZpFKShWPGTG2PP1vJfdQtSirgSK rB4bco8c1+tjrHCrhGKU2DEoLZtuvFM8mkdjxzT0hYPeoHOPNrc1XLl0KTvEZCSgTrcU RVKiY+P1onQNtLEGj/6vgFt2M+aLgpohMnNWRjTXxVRmNZ4PHb7q4sikZH+t54aacg3g bPAQ== X-Gm-Message-State: AOAM530yYakNAI5FdQXE5nk3zM9D/+dIiIuQK5ehf02LaRZqjwgJQZ2G IFJBSPjJ25hotgRkMwp3u/JKRpKDXOEHFCw8DMH4e7azQn8HJA2e6jaqsSXmlQf6bgA29Xjk6gH 4fJyZaMvNl5iAM/sczUmy5CHNMzgALavmaPxwIOkz X-Received: by 2002:a50:d08b:0:b0:425:eb86:f36d with SMTP id v11-20020a50d08b000000b00425eb86f36dmr16301831edd.235.1652091436040; Mon, 09 May 2022 03:17:16 -0700 (PDT) X-Received: by 2002:a50:d08b:0:b0:425:eb86:f36d with SMTP id v11-20020a50d08b000000b00425eb86f36dmr16301818edd.235.1652091435909; Mon, 09 May 2022 03:17:15 -0700 (PDT) MIME-Version: 1.0 References: <20220508130944.17860-1-vdronoff@gmail.com> <3f16033ef08063ef9fcb707010e78bd0@linux.ibm.com> In-Reply-To: <3f16033ef08063ef9fcb707010e78bd0@linux.ibm.com> From: Vlad Dronov Date: Mon, 9 May 2022 12:17:04 +0200 Message-ID: Subject: Re: [PATCH] s390/crypto: add crypto library interface for ChaCha20 To: freude@linux.ibm.com Cc: Patrick Steuer , Harald Freudenberger , Heiko Carstens , Herbert Xu , "David S . Miller" , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , linux-crypto@vger.kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org Hi, Harald, Thank you for your response, review and an ACK. Let me ask Herbert if he would agree to add your Reviewed-by and submit (so I do not send v2 just for this). Best regards, Vladis On Mon, May 9, 2022 at 12:10 PM Harald Freudenberger wrote: > > On 2022-05-08 15:09, Vladis Dronov wrote: > > From: Vladis Dronov > > > > Implement a crypto library interface for the s390-native ChaCha20 > > cipher > > algorithm. This allows us to stop to select CRYPTO_CHACHA20 and instead > > select CRYPTO_ARCH_HAVE_LIB_CHACHA. This allows BIG_KEYS=y not to build > > a whole ChaCha20 crypto infrastructure as a built-in, but build a > > smaller > > CRYPTO_LIB_CHACHA instead. > > > > Make CRYPTO_CHACHA_S390 config entry to look like similar ones on other > > architectures. Remove CRYPTO_ALGAPI select as anyway it is selected by > > CRYPTO_SKCIPHER. > > > > Add a new test module and a test script for ChaCha20 cipher and its > > interfaces. Here are test results on an idle z15 machine: > > > > ...skip... > > Hello Vladis > Thanks for your work. Please add my > Reviewed-by: Harald Freudenberger > > however, always the question who will pick and forward this patch ? > To me this looks like most parts are common so I would suggest that > Herbert Xu will pick this patch. >