Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1652570pxk; Fri, 18 Sep 2020 20:16:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLv/3+MXN384OwYsz8+3TuqWcj3htRE+SnIkrZIxAYuY8+EyL7ir5qHXpGKlbFaT02NpHL X-Received: by 2002:a17:906:54e:: with SMTP id k14mr39289394eja.59.1600485362507; Fri, 18 Sep 2020 20:16:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600485362; cv=none; d=google.com; s=arc-20160816; b=0FtmevGfUxtO7qocEfQgu6f72Zy2XiIo5KOwNb1ZG/rcbDbeBJ6ylgAjCOrb5wiTc2 8bzWFUKE4Owl/rtp1t2095sVChpd2FEsDiogcfdlWmfdnZ5xFocA4iPAIF2ivkXkIsHv gY9aNK8Rw00BBgTxrIaXYojLznJMlKJpRwnbWP5tqt0IlxkZ1wbPs/HdStFYw/QKkkeD F/UilvLk2hq3MKUv1ZlVJ3lJUbCJTj953wDxBioRCZlgHHZupSrDZCWVisL6JuC+hZjV 5iROnUavJuHktdGLG6irxEjtgkTfFq9uxiWb1Y35NQuNZThr+AjH1AjYZgbcmjOVE0X7 HEbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=l/VBiBmGAdeCNtJ3eNPDot/jivniR8lu6SzIG9T08pY=; b=SXo1GiP4KIflPn/q2+eqF5ytPMAVwONdw9aaBSXIoTNLSPkzM8tig+UdExxxmIyYmy n/LwhJYfZzpo7eGHUZ84xGaCM5xuIiYB/ggyixwFIyUBQV2h62Mjd+/yhhiaxJ28a70/ timsAXYY0FUI+Gkq4tITcUPrPtkU6fComqZiA4q0O0Y+ypXKAI/xPgE5VvVmO/+HkqpQ yMZV2UVMgDE3CsfxuDq9D+326Y+BL8yxVQDdWRiZ7b5WXPrRrvCKiYH8f7zeeJ2hCmbS uK816omRPXYrZfK3vlukpb15eTxFVQ9Jm4lGxmEiYcz4uKpmI4MuwvjoxBu9wudDP0mq VyDA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p9si3553003ejw.670.2020.09.18.20.15.27; Fri, 18 Sep 2020 20:16:02 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726112AbgISDP0 (ORCPT + 99 others); Fri, 18 Sep 2020 23:15:26 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:13323 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726054AbgISDP0 (ORCPT ); Fri, 18 Sep 2020 23:15:26 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 3A9DD8003434FBABB5A8; Sat, 19 Sep 2020 11:15:24 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Sat, 19 Sep 2020 11:15:17 +0800 From: yumeng 00484669 To: , CC: , , , , Subject: [PATCH v2 0/3] crypto: hisilicon/hpre - misc clean up and fixes Date: Sat, 19 Sep 2020 11:13:49 +0800 Message-ID: <1600485232-39831-1-git-send-email-yumeng18@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Adjust some tiny coding problems and fix a bug of DH algorithm. Changes since v1: Remove 'u64' cast in 'cpu_to_le64'; Meng Yu (3): crypto: hisilicon/hpre - remove useless code crypto: hisilicon/hpre - adjust some coding style crypto: hisilicon/hpre - fix a bug in dh algorithm drivers/crypto/hisilicon/hpre/hpre.h | 1 - drivers/crypto/hisilicon/hpre/hpre_crypto.c | 23 +++++++++++------------ 2 files changed, 11 insertions(+), 13 deletions(-) -- 2.8.1