Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3691795ybv; Mon, 10 Feb 2020 04:48:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyUauZ5AxibhR01v7uiFLss6/bbBgbhp59foytUO5bf+HONmMBm10JPS0jqN9kGE4M8/zSn X-Received: by 2002:a05:6830:15d7:: with SMTP id j23mr833192otr.357.1581338895236; Mon, 10 Feb 2020 04:48:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581338895; cv=none; d=google.com; s=arc-20160816; b=O9Y+m/GZ+2D0kkwj4D8U7VIisOfZET8aK5CUtbb0lPr0SVeFt3vzDevbo+Bpy3nN6B UVpRPBZEKBPwVkRDWzDaev4yV/6QXfc+rwf1xcj0xCb/YpCRapgKK1IlTmJU5wHjZtP1 wtCID+Q9/mW8reuBtLDJz7RYte68spLsfZrSshkyvEd2y1DpWIn1P3ImQquG4EvIqzYH zP/lGsET7dw0fcyxFHzyEpImElfyu++y7IJpzIhRdJEppYODb1k5J0CWDQfP4qVjrPa3 8+jGZuRllfpaPJRbk6y8fVYj+jmxusjF4P9rqiyhTeHG993kT9kCW7GY5hgVXACQwfw/ 2Lpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=HP7N8Sy6zZixsbUlFwThwfJyMyP2t9p88OWQhbhDeK0=; b=E02e9GEcSaYXimR+SJESaiWteeOJfbRs6qeFv0UUU0XBIP38iSdZqiOkEfcVMpGDxT 9t+dMx0qpOjvJ/pQsSG0NSdRNTME6/6yzRWQlFj9c91m8o0OZSoPo717END8GprH02ds F5sr1QMn7yH7C9LWrVuxiAMpSYjAkQi2BpPHdhAPb5LgS3a43O5ucX9UkUFVdHqQZTbr hYLCBQd7IKTn74BqxZAZevuzfkzzmFJUD6S+p1WFywB0rPdfBfzekcerYEVNTVCdMJTf WpySmd19Mk5qjCQHTuaMoYlkytfrPDVICyrX1cta3XUk1HVGhCAPIX2scMdMRDiFYJ1d J1dA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v21si114731oie.178.2020.02.10.04.48.03; Mon, 10 Feb 2020 04:48:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730645AbgBJMrr (ORCPT + 99 others); Mon, 10 Feb 2020 07:47:47 -0500 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:59349 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727857AbgBJMoq (ORCPT ); Mon, 10 Feb 2020 07:44:46 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01f04428;MF=tianjia.zhang@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0Tpb9ZmV_1581338682; Received: from localhost(mailfrom:tianjia.zhang@linux.alibaba.com fp:SMTPD_---0Tpb9ZmV_1581338682) by smtp.aliyun-inc.com(127.0.0.1); Mon, 10 Feb 2020 20:44:42 +0800 From: Tianjia Zhang To: herbert@gondor.apana.org.au, davem@davemloft.net, zohar@linux.ibm.com, dmitry.kasatkin@gmail.com, jmorris@namei.org, serge@hallyn.com, ebiggers@kernel.org Cc: linux-crypto@vger.kernel.org, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] IMA hash algorithm supports sm3 Date: Mon, 10 Feb 2020 20:44:38 +0800 Message-Id: <20200210124440.23929-1-tianjia.zhang@linux.alibaba.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixed an issue where the sm3 algorithm name mismatch in the crypto subsystem hash_algo_name. Make IMA support sm3 hash algorithm, added support for sm3 in IMA algorithm Kconfig configuration.