Some options for your consideration.

  1. Enlarge OVMF size
    1. I have seen discussion to 8M to 16M, but it seems not concluded.
  2. Remove unnecessary algo in openssl config
    1. Do you really want to enable all those algorithms? Such as SM2? Maybe revisit them again to see if they are really needed. I could see it might break other platform potentially.
    2. Do you have any evaluation on binary size difference before or after your patch ? Please provide the data to help other people make decision.
  3. Provide 2 profiles – with ECC and without ECC.
    1. As such, we can let platform decide which one it wants to take, if there is significant size difference.
    2. This would be the best way to keep the compatibility.

Thank you

Yao Jiewen

 

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Vineel Kovvuri via groups.io
Sent: Tuesday, November 9, 2021 6:30 AM
To: Vineel Kovvuri <vineel.kovvuri@gmail.com>; devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH 1/2] Reconfigure OpensslLib to add elliptic curve chipher algorithms

 

Hi Folks,

 

We are able to resolve the __ModuleEntryPoint error and was able to run below build configurations locally.

Is it okay to increase the fv image size if so need some guidance with respected to that as it may effect other projects like QEMU etc. Any inputs here are much appreciated

 

For Reference: https://github.com/vineelkovvuri/edk2/pull/2