From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id CB225740038 for ; Tue, 6 Feb 2024 11:24:53 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=0ZCJ9rF79UuncCtC4estpavwFRAiv2ItqIRBZCeZHJM=; c=relaxed/simple; d=groups.io; h=Subject:To:From:User-Agent:MIME-Version:Date:Message-ID:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1707218692; v=1; b=Q76jsRTgdmAqB/gywVxajDHdyyKBJFNzdb39oSt+N4J4Fcx9Rby9CVAOAgVUzl/AldtKYWdA 60K2/QVclHi/qFGAktX2FfygFfH+WbHJic7e+vUIHserumvTk9dJuSfpyiHBpX1/2FbTyfJk/HR kkrFOsolKrgKg3grhUtRZRrw= X-Received: by 127.0.0.2 with SMTP id ldEsYY7687511x1Ybnkrg4ke; Tue, 06 Feb 2024 03:24:52 -0800 Subject: [edk2-devel] Dependency on CryptoLib increases my module size by 600Kb, being apparently too big for integration To: devel@edk2.groups.io From: "CrossedCarpet" X-Originating-Location: New York, New York, US (149.88.20.199) X-Originating-Platform: Linux Chrome 120 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 06 Feb 2024 03:24:52 -0800 Message-ID: <3uMu.1707218692053543523.07Ka@groups.io> Precedence: Bulk List-Subscribe: List-Help: 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,crossedcarpet@hotmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: aDMLb7K91x6SfqvuJOoWFucVx7686176AA= Content-Type: multipart/alternative; boundary="Yctwjk5xsDvqoZ7OQIC8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=Q76jsRTg; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=hotmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io --Yctwjk5xsDvqoZ7OQIC8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Greetings everyone , Integration of my module into a motherboard bricks the computer. The integrator informed me that this might be happening due to the size of = the module given that 600kB is too big and as such the code will be truncat= ed once flashed. I find this suspicious given that this would render CryptoLib hard to use a= nd I can also find modules like TlsDxe with sizes above 1Mb. Perhaps there are other ways to call this library that don't include static= linking? Where can I read more about this module size hard limit? Can someone give me any insight or tip on this subject? Best regards, C.C. -=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 (#115155): https://edk2.groups.io/g/devel/message/115155 Mute This Topic: https://groups.io/mt/104195858/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --Yctwjk5xsDvqoZ7OQIC8 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Greetings everyone , 
Integration of my module into a motherboard= bricks the computer.
The integrator informed me that this might be h= appening due to the size of the module given that 600kB is too big and as s= uch the code will be truncated once flashed.
I find this suspicious gi= ven that this would render CryptoLib hard to use and I can also find module= s like TlsDxe with sizes above 1Mb. 
Perhaps there are other ways= to call this library that don't include static linking?
Where can I r= ead more about this module size hard limit?
Can someone give me any in= sight or tip on this subject?
Best regards,
C.C.
_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#115155) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--Yctwjk5xsDvqoZ7OQIC8--