From patchwork Mon May 17 11:02:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 440077 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp976224jac; Mon, 17 May 2021 04:02:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwe3pCwezInUoAAYYhB9RYLmL9aZr1L7WBScGvUxjy+LbgquPFqU9DQxOUNObeYYkthU9Ci X-Received: by 2002:adf:fb46:: with SMTP id c6mr46802545wrs.123.1621249367395; Mon, 17 May 2021 04:02:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621249367; cv=none; d=google.com; s=arc-20160816; b=Dqcg4SoeU+LJjLm8zawbunRzUGr2L20V/FXGSwUNKeXILrt5qUx5F7X2VE0YUmHejp oeZoAMCeowg2USVmpNhk+Oxk7SPuEdfWlcRXwH9DxPHon82IGWl+zBYqyzxi96NLfVuA LlKY5ufySyC/lVCzLU4ENhBty0SnZEwoj9edh0gmhX5XNQ3ahBuPukRUArGb7R8N2Ts5 PMbG7Bpqd6vazy9C3nhPeXeBcwMmHmdl6HU3z3DVL4lLZ8s4ifxaQ+cnxgEWXylUSY6Z KTnCTNbx9bYLkxKCodWmIPSLlZKm30Sf3xHv83ljzPUT3ISkh3zfAlDB+Bzh0zf44MsX +wMQ== 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 :message-id:date:subject:cc:to:from; bh=7kjbtR1Y+FywM01igJapmnVtzOb67Mchw2XKWJJv0Kg=; b=LTMtiKe37rZvCpK0h2dNE10dBjqpsXsyprz9qObxMG1kEfyVnYNUrvVTmfN/miJden h8kToq9ECGv8h19LgBx/TFrzjx7XK1W/tWEu921JuMzBRpHIFFHu83Yr+HeiVxRyj1nr YRv3iMA4c1Z8hY1hhE39Qqtn8NJykZ0FGNAveOXLN+fMzs3CWlaTelHeMRw+zVDOdiYH xURZrLjkGW8FZqdOFIw1HAtMox1JYRc0S+JVW6RC0ZvUPrWl84WH2mxDIF32UqMdpp+A bvUPxRr2YSnB9Pdr+K963qDZbDzVV8zKjFw3Nebkb+DjHZo3+ac+ZSxGcz5PtDI2n0AM tRxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si16175659ejj.214.2021.05.17.04.02.47; Mon, 17 May 2021 04:02:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236579AbhEQLEC (ORCPT + 3 others); Mon, 17 May 2021 07:04:02 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2997 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236573AbhEQLEC (ORCPT ); Mon, 17 May 2021 07:04:02 -0400 Received: from dggems703-chm.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FkGNN3PGZzQp1h; Mon, 17 May 2021 18:59:16 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggems703-chm.china.huawei.com (10.3.19.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 17 May 2021 19:02:44 +0800 Received: from thunder-town.china.huawei.com (10.174.177.72) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 17 May 2021 19:02:44 +0800 From: Zhen Lei To: Herbert Xu , "David S . Miller" , linux-crypto CC: Zhen Lei Subject: [PATCH 1/1] crypto: Fix spelling mistakes in header files Date: Mon, 17 May 2021 19:02:34 +0800 Message-ID: <20210517110234.7416-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.177.72] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Fix some spelling mistakes in comments: cipherntext ==> ciphertext syncronise ==> synchronise feeded ==> fed Signed-off-by: Zhen Lei --- include/crypto/aead.h | 2 +- include/crypto/engine.h | 2 +- include/crypto/hash.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 diff --git a/include/crypto/aead.h b/include/crypto/aead.h index e728469c4ccc..5af914c1ab8e 100644 --- a/include/crypto/aead.h +++ b/include/crypto/aead.h @@ -490,7 +490,7 @@ static inline void aead_request_set_callback(struct aead_request *req, * The memory structure for cipher operation has the following structure: * * - AEAD encryption input: assoc data || plaintext - * - AEAD encryption output: assoc data || cipherntext || auth tag + * - AEAD encryption output: assoc data || ciphertext || auth tag * - AEAD decryption input: assoc data || ciphertext || auth tag * - AEAD decryption output: assoc data || plaintext * diff --git a/include/crypto/engine.h b/include/crypto/engine.h index 3f06e40d063a..26cac19b0f46 100644 --- a/include/crypto/engine.h +++ b/include/crypto/engine.h @@ -28,7 +28,7 @@ * of a failed backlog request * crypto-engine, in head position to keep order * @list: link with the global crypto engine list - * @queue_lock: spinlock to syncronise access to request queue + * @queue_lock: spinlock to synchronise access to request queue * @queue: the crypto queue of the engine * @rt: whether this queue is set to run as a realtime task * @prepare_crypt_hardware: a request will soon arrive from the queue diff --git a/include/crypto/hash.h b/include/crypto/hash.h index b2bc1e46e86a..f140e4643949 100644 --- a/include/crypto/hash.h +++ b/include/crypto/hash.h @@ -458,7 +458,7 @@ int crypto_ahash_finup(struct ahash_request *req); * * Return: * 0 if the message digest was successfully calculated; - * -EINPROGRESS if data is feeded into hardware (DMA) or queued for later; + * -EINPROGRESS if data is fed into hardware (DMA) or queued for later; * -EBUSY if queue is full and request should be resubmitted later; * other < 0 if an error occurred */