From: "Tomas Pilar (tpilar)" <tpilar@solarflare.com>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: Pkcs7 crypto verification without openSSL
Date: Mon, 3 Dec 2018 12:55:26 +0000 [thread overview]
Message-ID: <44a366e7-c782-683e-7831-bd6caf0ec3d0@solarflare.com> (raw)
In-Reply-To: <CAKv+Gu9Ya-o7hWQ=wYN6TqDw7yxBzcwfYv5aAFobGijj+U5wXg@mail.gmail.com>
On 03/12/2018 12:40, Ard Biesheuvel wrote:
> On Wed, 28 Nov 2018 at 18:40, Tomas Pilar (tpilar)
> <tpilar@solarflare.com> wrote:
>> Hi,
>>
>> Are there any plans for a crypto library that does not pull in openSSL? When I try to add BaseCryptLib to be able to use FmpAuthenticationLib, my driver size baloons significantly (increase of ~0x30000) and it seems like a basic public SHA256 crypto check library should not be _that_ large?
> Well, I'd expect the code size to come from the asymmetric crypto, not
> from the SHA256 hash code. Which FmpAuthenticationLib are you using?
Yes, that makes sense. I am using the FmpAuthenticationLibPkcs7 from SecurityPkg which pulls in BaseCryptLib. I would assume that the linker only links the functions which are referenced so it should not pull in the entire library but I expect some overgeneric helpers might be quite large.
Cheers,
Tom
next prev parent reply other threads:[~2018-12-03 12:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-28 17:31 Pkcs7 crypto verification without openSSL Tomas Pilar (tpilar)
2018-11-28 19:40 ` Kevin D Davis
2018-12-03 12:40 ` Ard Biesheuvel
2018-12-03 12:55 ` Tomas Pilar (tpilar) [this message]
2018-12-03 15:26 ` Ard Biesheuvel
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=44a366e7-c782-683e-7831-bd6caf0ec3d0@solarflare.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