From nobody Sat May 4 10:53:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+54763+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+54763+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1582595636; cv=none; d=zohomail.com; s=zohoarc; b=ktrKPNW7ow83vlCGvHUQvHnWH18EmjsjuduCxeameR2qJUKfgdS1coFlSEnaTHpsggYqFhCtlkODtuZ/qlclvi6IdoZ+OVpuNlFeGM864VNgduz2Jd8eu7A4Sf+xXm9SCn9FTcnKsdOCQxVObi5yuQJr1ZqNOW4yxkm96rcyY+k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582595636; h=Cc:Date:From:List-Id:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To; bh=aq+/IH22R6cUKjjJMHmACCFe+8MLxkfCHQZ8CSbhV8A=; b=XfX59FxrEnkrBvtBxVkzz0Seo06o+VO8ZaB/YnYzb8hjYjGV8Qm+96PJxHGHWdwyatsBHWOyaOEsDTSCTiB/wOV+BiU8D9lK53HnqVaKPDETcWGYr8xKipa3zVeEisj0/XHxYmxUp5mjERjuKfmc9ppH1E/MG4aNgImwRnlid24= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+54763+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1582595636742698.1352993632619; Mon, 24 Feb 2020 17:53:56 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id oAEeYY1788612xtyewYJc1tH; Mon, 24 Feb 2020 17:53:55 -0800 X-Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by mx.groups.io with SMTP id smtpd.web10.1110.1582595635167497833 for ; Mon, 24 Feb 2020 17:53:55 -0800 X-Received: by mail-pl1-f193.google.com with SMTP id t14so4817830plr.8 for ; Mon, 24 Feb 2020 17:53:55 -0800 (PST) X-Gm-Message-State: sbvnXrNhSFnkxAuEWt4j6I5Ex1787277AA= X-Google-Smtp-Source: APXvYqzTUtaiWeNr5tHhCiMoyi5BrGFWALV0OqryS38LnZOBb7ysUT7phh+VF5VHpDoPuZg7L/zxxQ== X-Received: by 2002:a17:90a:d801:: with SMTP id a1mr2384704pjv.34.1582595634276; Mon, 24 Feb 2020 17:53:54 -0800 (PST) X-Received: from localhost.localdomain ([222.67.15.87]) by smtp.gmail.com with ESMTPSA id c15sm14139221pfo.137.2020.02.24.17.53.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2020 17:53:53 -0800 (PST) From: "GuoMinJ" To: devel@edk2.groups.io Cc: GuoMinJ Subject: [edk2-devel] [PATCH] CryptoPkg: ECC issue. Date: Tue, 25 Feb 2020 09:53:29 +0800 Message-Id: <76a4ba530dea866c743b2f8f85a1672a34a35e52.1582595594.git.newexplorerj@gmail.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,newexplorerj@gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1582595635; bh=Z2AUg1aNO5yNzUNhB6SyFulV6QG0s7L5OFxXcbdpYEg=; h=Cc:Date:From:Reply-To:Subject:To; b=cu0NCj0AhtUw3PDr/0ZG6kL6Os4OxzSMmQW6Wo4pqjsdg+5t+hp1vAKLvS0CHtM4cG/ xqAFcbq367Z5b9UoLXOi6k2itF117R9CGDmXBQcwnHKmvbj6hKe1ElLu4YPLrC5ymycST x5SAm5qFXjfSRDqBTOe0I+DmnKkSKv42QIc= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2552 Some issue is reported by ECC tool, correct it. Signed-off-by: GuoMinJ --- .../Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c | 9 +++++++++ CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c b/Cr= yptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c index 34d5f410b0..b503a5708b 100644 --- a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c +++ b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c @@ -32,6 +32,15 @@ GetCryptoServices ( return (VOID *)mCryptoProtocol; } =20 +/** + Locate the valid Crypto Protocol. + + @param ImageHandle The firmware allocated handle for the EFI image. + @param SystemTable A pointer to the EFI System Table. + + @retval EFI_SUCCESS The constructor executed correctly. + @retval EFI_NOT_FOUND Found no valid Crypto Protocol. +**/ EFI_STATUS EFIAPI DxeCryptLibConstructor ( diff --git a/CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf b/CryptoPk= g/Library/BaseHashApiLib/BaseHashApiLib.inf index b4d8675ddd..046320353b 100644 --- a/CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf +++ b/CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf @@ -17,7 +17,7 @@ FILE_GUID =3D B1E566DD-DE7C-4F04-BDA0-B1295D3BE927 MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 - LIBRARY_CLASS =3D BaseHashApiLib + LIBRARY_CLASS =3D HashApiLib =20 # # The following information is for reference only and not required by the = build tools. --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#54763): https://edk2.groups.io/g/devel/message/54763 Mute This Topic: https://groups.io/mt/71525362/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-