public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf
@ 2023-04-14  7:33 Li, Yi
  2023-04-14 10:49 ` Yao, Jiewen
       [not found] ` <1755C78039A39C1B.16809@groups.io>
  0 siblings, 2 replies; 3+ messages in thread
From: Li, Yi @ 2023-04-14  7:33 UTC (permalink / raw)
  To: devel; +Cc: Yi Li, Jian J Wang, Jiewen Yao, Xiaoyu Lu, Guomin Jiang

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4413

Make the DXE_CORE module able to call the crypto protocol,
which can reduce FV size on platforms using the Crypto Binaries.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
---
 CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
index b4945de336..972291574c 100644
--- a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
+++ b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
@@ -16,7 +16,7 @@
   FILE_GUID                      = B38CBDA6-8017-4111-8232-9E8328DE82F6
   VERSION_STRING                 = 1.0
   MODULE_TYPE                    = DXE_DRIVER
-  LIBRARY_CLASS                  = BaseCryptLib | DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION
+  LIBRARY_CLASS                  = BaseCryptLib | DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION DXE_CORE
   LIBRARY_CLASS                  = TlsLib       | DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION
   CONSTRUCTOR                    = DxeCryptLibConstructor
 
-- 
2.31.1.windows.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf
  2023-04-14  7:33 [PATCH] CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf Li, Yi
@ 2023-04-14 10:49 ` Yao, Jiewen
       [not found] ` <1755C78039A39C1B.16809@groups.io>
  1 sibling, 0 replies; 3+ messages in thread
From: Yao, Jiewen @ 2023-04-14 10:49 UTC (permalink / raw)
  To: Li, Yi1, devel@edk2.groups.io; +Cc: Wang, Jian J, Lu, Xiaoyu1, Jiang, Guomin

Reviewed-by: JIewen Yao <Jiewen.yao@intel.com>

> -----Original Message-----
> From: Li, Yi1 <yi1.li@intel.com>
> Sent: Friday, April 14, 2023 3:33 PM
> To: devel@edk2.groups.io
> Cc: Li, Yi1 <yi1.li@intel.com>; Wang, Jian J <jian.j.wang@intel.com>; Yao,
> Jiewen <jiewen.yao@intel.com>; Lu, Xiaoyu1 <xiaoyu1.lu@intel.com>; Jiang,
> Guomin <guomin.jiang@intel.com>
> Subject: [PATCH] CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4413
> 
> Make the DXE_CORE module able to call the crypto protocol,
> which can reduce FV size on platforms using the Crypto Binaries.
> 
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
> Cc: Guomin Jiang <guomin.jiang@intel.com>
> Signed-off-by: Yi Li <yi1.li@intel.com>
> ---
>  CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
> b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
> index b4945de336..972291574c 100644
> --- a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
> +++ b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
> @@ -16,7 +16,7 @@
>    FILE_GUID                      = B38CBDA6-8017-4111-8232-9E8328DE82F6
>    VERSION_STRING                 = 1.0
>    MODULE_TYPE                    = DXE_DRIVER
> -  LIBRARY_CLASS                  = BaseCryptLib | DXE_DRIVER UEFI_DRIVER
> UEFI_APPLICATION
> +  LIBRARY_CLASS                  = BaseCryptLib | DXE_DRIVER UEFI_DRIVER
> UEFI_APPLICATION DXE_CORE
>    LIBRARY_CLASS                  = TlsLib       | DXE_DRIVER UEFI_DRIVER
> UEFI_APPLICATION
>    CONSTRUCTOR                    = DxeCryptLibConstructor
> 
> --
> 2.31.1.windows.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] [PATCH] CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf
       [not found] ` <1755C78039A39C1B.16809@groups.io>
@ 2023-04-19  4:16   ` Yao, Jiewen
  0 siblings, 0 replies; 3+ messages in thread
From: Yao, Jiewen @ 2023-04-19  4:16 UTC (permalink / raw)
  To: devel@edk2.groups.io, Yao, Jiewen, Li, Yi1
  Cc: Wang, Jian J, Lu, Xiaoyu1, Jiang, Guomin

Merged https://github.com/tianocore/edk2/pull/4284

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Yao,
> Jiewen
> Sent: Friday, April 14, 2023 6:50 PM
> To: Li, Yi1 <yi1.li@intel.com>; devel@edk2.groups.io
> Cc: Wang, Jian J <jian.j.wang@intel.com>; Lu, Xiaoyu1
> <xiaoyu1.lu@intel.com>; Jiang, Guomin <guomin.jiang@intel.com>
> Subject: Re: [edk2-devel] [PATCH] CryptoPkg: Enable DXE_CORE support in
> DxeCryptLib.inf
> 
> Reviewed-by: JIewen Yao <Jiewen.yao@intel.com>
> 
> > -----Original Message-----
> > From: Li, Yi1 <yi1.li@intel.com>
> > Sent: Friday, April 14, 2023 3:33 PM
> > To: devel@edk2.groups.io
> > Cc: Li, Yi1 <yi1.li@intel.com>; Wang, Jian J <jian.j.wang@intel.com>; Yao,
> > Jiewen <jiewen.yao@intel.com>; Lu, Xiaoyu1 <xiaoyu1.lu@intel.com>;
> Jiang,
> > Guomin <guomin.jiang@intel.com>
> > Subject: [PATCH] CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf
> >
> > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4413
> >
> > Make the DXE_CORE module able to call the crypto protocol,
> > which can reduce FV size on platforms using the Crypto Binaries.
> >
> > Cc: Jian J Wang <jian.j.wang@intel.com>
> > Cc: Jiewen Yao <jiewen.yao@intel.com>
> > Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
> > Cc: Guomin Jiang <guomin.jiang@intel.com>
> > Signed-off-by: Yi Li <yi1.li@intel.com>
> > ---
> >  CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
> > b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
> > index b4945de336..972291574c 100644
> > --- a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
> > +++ b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
> > @@ -16,7 +16,7 @@
> >    FILE_GUID                      = B38CBDA6-8017-4111-8232-9E8328DE82F6
> >    VERSION_STRING                 = 1.0
> >    MODULE_TYPE                    = DXE_DRIVER
> > -  LIBRARY_CLASS                  = BaseCryptLib | DXE_DRIVER UEFI_DRIVER
> > UEFI_APPLICATION
> > +  LIBRARY_CLASS                  = BaseCryptLib | DXE_DRIVER UEFI_DRIVER
> > UEFI_APPLICATION DXE_CORE
> >    LIBRARY_CLASS                  = TlsLib       | DXE_DRIVER UEFI_DRIVER
> > UEFI_APPLICATION
> >    CONSTRUCTOR                    = DxeCryptLibConstructor
> >
> > --
> > 2.31.1.windows.1
> 
> 
> 
> 
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-19  4:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-14  7:33 [PATCH] CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf Li, Yi
2023-04-14 10:49 ` Yao, Jiewen
     [not found] ` <1755C78039A39C1B.16809@groups.io>
2023-04-19  4:16   ` [edk2-devel] " Yao, Jiewen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox