Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp9246574rwi; Tue, 25 Oct 2022 17:26:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5krufija6K1VpxccU9Fim8Ve5GL948bezfFQt3rkQvYD9X3Ctf33dhiWY+1lzF881TKmXc X-Received: by 2002:a05:6a00:cd1:b0:563:8df5:2b8b with SMTP id b17-20020a056a000cd100b005638df52b8bmr41573100pfv.67.1666743997447; Tue, 25 Oct 2022 17:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666743997; cv=none; d=google.com; s=arc-20160816; b=CR9vUlfPHL8x/PFVPxWkkdisc0y6Jud5WToBFUjw8nsHlWzgCD4r63e4FJw69SNXSq quKbLVBUKw84xBW5BdF+sG2WNb3Ihk6y+yWE3zU/kC6wzZq+QU2LC7S6nO/KKODAv4C+ Aqmm8AgQqn202I2lhpHppz0Zk/EfBmwTL6mevsu37tP8OCh6cD/wU6UN2w3d3yaPXK0C sfwNEBXvL/MkW4sQV20d8ozwmeKpMJE3dP349QFW0ErowVr/mJQ6vs7/517vkLq9H5Wy gTELhy2CF9ME7ZghbU/aD3zlGFpHwlDF5Arp+JWzvk4wHgExdHp5ONOV0vayJgO2KWPg WIXg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=x5As/wtMyPLAoWwod1dRMsFt2VnJoe2PnNLrkd9oVg0=; b=NH3BaGHr4KsMT5swftlKuXzsao67FydCT6k1H5xfA1rBYK6QKfd0YlUU9tO3Cx8Tzl jjFMjPTQ3CKQTizt1AaZxZcWdTP/li/9kVLaCJDaiHUuVB2dWs+s8JKBb4Qa6Z6DhNgS OhGA3ZyacHvjaTa2e5AmdPFtgnHHDJ/1ZBDz50FLFAAf/qV0EppwVVUqjrJLLYW+HRUb 7rkF4r4unCuAa2TdLuzPmfR13vzbYpOqfEpefD5h8yFNA2+Fdn5cL9IS31NuK3hxPbwT IWjeVTrR2XphA3TuHPfYbjvaDa3xjUddWsXJUiGCtt8wvvCOdoSne7nOrTtA/ZY4fRQM G9VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HO62yPYf; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a170902c9cb00b00186b287bd57si4035747pld.190.2022.10.25.17.25.59; Tue, 25 Oct 2022 17:26:37 -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=@intel.com header.s=Intel header.b=HO62yPYf; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231748AbiJZAOf (ORCPT + 99 others); Tue, 25 Oct 2022 20:14:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232403AbiJZAOa (ORCPT ); Tue, 25 Oct 2022 20:14:30 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FC13F026 for ; Tue, 25 Oct 2022 17:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666743268; x=1698279268; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RLeRy02UDLbgH5ueJOC13SZ9/4/BYgI+G6G0HsM/qIM=; b=HO62yPYfR7pS2lQvEqsBYkun4WJEdJegFLdYUB/H0P9CRDt1tjuHZu1L PPcv1Vx03gcD4i9lOcRXTcMde8yY2mCVqtuvJHkeYPgE5odK8SLyVPzE4 Vj2Iiohp6Tp8+2aH4NkrakxH2HwG52C4Sx+fNKnbNsg17QwPNYHaDpdQw M7BpwuoaHX2w4zkXwXEXjbOZzOqylVLArvuxfEdpkBF+3P6JefXhfXwSt 0JOluU+1cUdLDKKOiRjWBsF+y287MifISivBKBQrSL2kU4S6mH4X3YJA9 uhPoEyQk5Q4si1GFXY2VSIL4C6VSrYCsRJ/Dpyx80Q1jkFWqhYyr0LK0n A==; X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="288219049" X-IronPort-AV: E=Sophos;i="5.95,213,1661842800"; d="scan'208";a="288219049" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2022 17:14:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="662999557" X-IronPort-AV: E=Sophos;i="5.95,213,1661842800"; d="scan'208";a="662999557" Received: from avenkata-desk0.sc.intel.com ([172.25.112.42]) by orsmga008.jf.intel.com with ESMTP; 25 Oct 2022 17:14:24 -0700 From: Anirudh Venkataramanan To: Herbert Xu , linux-crypto@vger.kernel.org Cc: Anirudh Venkataramanan Subject: [PATCH 4/4] crypto: tcrypt - Drop leading newlines from prints Date: Tue, 25 Oct 2022 17:15:21 -0700 Message-Id: <20221026001521.4222-5-anirudh.venkataramanan@intel.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221026001521.4222-1-anirudh.venkataramanan@intel.com> References: <20221026001521.4222-1-anirudh.venkataramanan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham 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 The top level print banners have a leading newline. It's not entirely clear why this exists, but it makes it harder to parse tcrypt test output using a script. Drop said newlines. tcrypt output before this patch: [...] testing speed of rfc4106(gcm(aes)) (rfc4106-gcm-aesni) encryption [...] test 0 (160 bit key, 16 byte blocks): 1 operation in 2320 cycles (16 bytes) tcrypt output with this patch: [...] testing speed of rfc4106(gcm(aes)) (rfc4106-gcm-aesni) encryption [...] test 0 (160 bit key, 16 byte blocks): 1 operation in 2320 cycles (16 bytes) Signed-off-by: Anirudh Venkataramanan --- crypto/tcrypt.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 35868d5..8339838 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -335,7 +335,7 @@ static void test_mb_aead_speed(const char *algo, int enc, int secs, crypto_req_done, &data[i].wait); } - pr_info("\ntesting speed of multibuffer %s (%s) %s\n", algo, + pr_info("testing speed of multibuffer %s (%s) %s\n", algo, get_driver_name(crypto_aead, tfm), e); i = 0; @@ -586,7 +586,7 @@ static void test_aead_speed(const char *algo, int enc, unsigned int secs, } crypto_init_wait(&wait); - pr_info("\ntesting speed of %s (%s) %s\n", algo, + pr_info("testing speed of %s (%s) %s\n", algo, get_driver_name(crypto_aead, tfm), e); req = aead_request_alloc(tfm, GFP_KERNEL); @@ -888,7 +888,7 @@ static void test_ahash_speed_common(const char *algo, unsigned int secs, return; } - pr_info("\ntesting speed of async %s (%s)\n", algo, + pr_info("testing speed of async %s (%s)\n", algo, get_driver_name(crypto_ahash, tfm)); if (crypto_ahash_digestsize(tfm) > MAX_DIGEST_SIZE) { @@ -1128,7 +1128,7 @@ static void test_mb_skcipher_speed(const char *algo, int enc, int secs, crypto_init_wait(&data[i].wait); } - pr_info("\ntesting speed of multibuffer %s (%s) %s\n", algo, + pr_info("testing speed of multibuffer %s (%s) %s\n", algo, get_driver_name(crypto_skcipher, tfm), e); i = 0; @@ -1335,7 +1335,7 @@ static void test_skcipher_speed(const char *algo, int enc, unsigned int secs, return; } - pr_info("\ntesting speed of %s %s (%s) %s\n", async ? "async" : "sync", + pr_info("testing speed of %s %s (%s) %s\n", async ? "async" : "sync", algo, get_driver_name(crypto_skcipher, tfm), e); req = skcipher_request_alloc(tfm, GFP_KERNEL); -- 2.37.2