From: "Michael D Kinney" <michael.d.kinney@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"Guo, Gua" <gua.guo@intel.com>,
"Kinney, Michael D" <michael.d.kinney@intel.com>
Cc: "Dong, Guo" <guo.dong@intel.com>, "Ni, Ray" <ray.ni@intel.com>,
"Lu, James" <james.lu@intel.com>
Subject: Re: [edk2-devel] [PATCH v3] UefiPayloadPkg: Remove deprecate Crypto Service
Date: Wed, 5 Oct 2022 16:28:01 +0000 [thread overview]
Message-ID: <CO1PR11MB4929290653ED100D172E0AB3D25D9@CO1PR11MB4929.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20221005095427.685-1-gua.guo@intel.com>
Hi,
The DEC default for these settings is disabled. You only need to remove the family lines.
Also, setting to FALSE does not make sense for a Family bitmask. If you set family
value, it must be a hex value. The recommendation is is not present (DEC default
of 0x0) or PCD_CRYPTO_SERVICE_ENABLE_FAMILY (all bits set).
Mike
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Guo, Gua
> Sent: Wednesday, October 5, 2022 2:54 AM
> To: devel@edk2.groups.io
> Cc: Guo, Gua <gua.guo@intel.com>; Dong, Guo <guo.dong@intel.com>; Ni, Ray <ray.ni@intel.com>; Lu, James <james.lu@intel.com>
> Subject: [edk2-devel] [PATCH v3] UefiPayloadPkg: Remove deprecate Crypto Service
>
> From: Gua Guo <gua.guo@intel.com>
>
> REF : https://bugzilla.tianocore.org/show_bug.cgi?id=4096
>
> TDES and ARC4 services are deprecated so set it as disable.
>
> Cc: Guo Dong <guo.dong@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: James Lu <james.lu@intel.com>
> Signed-off-by: Gua Guo <gua.guo@intel.com>
> ---
> 0001-UefiPayloadPkg-Remove-deprecate-Crypto-Service.patch | 40 ++++++++++++++++++++
> UefiPayloadPkg/UefiPayloadPkg.dsc | 2 -
> 2 files changed, 40 insertions(+), 2 deletions(-)
>
> diff --git a/0001-UefiPayloadPkg-Remove-deprecate-Crypto-Service.patch b/0001-UefiPayloadPkg-Remove-deprecate-Crypto-
> Service.patch
> new file mode 100644
> index 0000000000..d81d45a9ff
> --- /dev/null
> +++ b/0001-UefiPayloadPkg-Remove-deprecate-Crypto-Service.patch
> @@ -0,0 +1,40 @@
> +From a1dc2255f4616c16684a39d1e85109c653b3e8de Mon Sep 17 00:00:00 2001
> +Message-Id: <a1dc2255f4616c16684a39d1e85109c653b3e8de.1664960866.git.gua.guo@intel.com>
> +From: Gua Guo <gua.guo@intel.com>
> +Date: Wed, 5 Oct 2022 16:48:05 +0800
> +Subject: [PATCH v2] UefiPayloadPkg: Remove deprecate Crypto Service
> +
> +REF : https://bugzilla.tianocore.org/show_bug.cgi?id=4096
> +
> +TDES and ARC4 services are deprecated so set it as disable.
> +
> +Cc: Guo Dong <guo.dong@intel.com>
> +Cc: Ray Ni <ray.ni@intel.com>
> +Cc: James Lu <james.lu@intel.com>
> +Signed-off-by: Gua Guo <gua.guo@intel.com>
> +---
> + UefiPayloadPkg/UefiPayloadPkg.dsc | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayloadPkg.dsc
> +index 8f23802199..62959542a3 100644
> +--- a/UefiPayloadPkg/UefiPayloadPkg.dsc
> ++++ b/UefiPayloadPkg/UefiPayloadPkg.dsc
> +@@ -459,12 +459,12 @@
> + gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha384.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> + gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha512.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> + gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> +- gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tdes.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> ++ gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tdes.Family | FALSE
> # TDES is deprecated and unsupported any longer.
>
> + gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.GetContextSize | TRUE
>
> + gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.Init | TRUE
>
> + gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcEncrypt | TRUE
>
> + gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcDecrypt | TRUE
>
> +- gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Arc4.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> ++ gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Arc4.Family | FALSE
> # ARC4 is deprecated and unsupported any longer.
>
> + gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sm3.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> + gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Hkdf.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> + gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tls.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> +--
> +2.31.1.windows.1
> +
> diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayloadPkg.dsc
> index 8f23802199..1150be6acd 100644
> --- a/UefiPayloadPkg/UefiPayloadPkg.dsc
> +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc
> @@ -459,12 +459,10 @@
> gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha384.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha512.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> - gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tdes.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.GetContextSize | TRUE
>
> gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.Init | TRUE
>
> gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcEncrypt | TRUE
>
> gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcDecrypt | TRUE
>
> - gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Arc4.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sm3.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Hkdf.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tls.Family |
> PCD_CRYPTO_SERVICE_ENABLE_FAMILY
>
> --
> 2.31.1.windows.1
>
>
>
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#94749): https://edk2.groups.io/g/devel/message/94749
> Mute This Topic: https://groups.io/mt/94132067/1643496
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub [michael.d.kinney@intel.com]
> -=-=-=-=-=-=
>
prev parent reply other threads:[~2022-10-05 16:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-05 9:54 [PATCH v3] UefiPayloadPkg: Remove deprecate Crypto Service Guo, Gua
2022-10-05 16:28 ` Michael D Kinney [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CO1PR11MB4929290653ED100D172E0AB3D25D9@CO1PR11MB4929.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox