public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "eddie wang" <qw1562435@gmail.com>
To: devel@edk2.groups.io, lersek@redhat.com
Subject: Re: [edk2-devel] The API in BaseCryptLib can't seed the pseudorandom number generator properly
Date: Thu, 15 Feb 2024 19:09:14 +0800	[thread overview]
Message-ID: <CAOwpOhLB-gsSVs0dyzr9Jzz+TGRvupkkAPfa5Vm5RvwKRO5kBA@mail.gmail.com> (raw)
In-Reply-To: <08efe7f7-b7d2-a806-39da-b3ebadd45ec4@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1357 bytes --]

Hi Laszlo,
Thanks for your reply. How can I enable the DEBUGs at RandomSeed() ? Or any
suggesting information that I can provide?

BR,
Eddie

Laszlo Ersek <lersek@redhat.com> 於 2024年2月8日 週四 上午5:03寫道:

> On 2/6/24 08:00, eddie wang wrote:
> > Hi all,
> > We had an UEFI application that used the EDK2(2023/12/05), and  we would
> > like to take advantage of the services in BaseCryptLib .However, the API
> > in CryptPkg "*RandomSeed()*"(X64, in CryptRandTsc.c) always returned
> > false because of  the pseudorandom number generator set up failed. I am
> > not sure this issue is from the *openssl configuration in OpensslLib(we
> > use the default configuration)* or is from the *openssl 3.0.9*.
> >
> > Is there any comments about this issue?
>
> Can you narrow it down by inserting DEBUGs starting at RandomSeed()
> [CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c], and then digging
> down as necessary?
>
> Laszlo
>
>
>
> 
>
>
>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115519): https://edk2.groups.io/g/devel/message/115519
Mute This Topic: https://groups.io/mt/104198931/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 2172 bytes --]

  reply	other threads:[~2024-02-15 11:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-06  7:00 [edk2-devel] The API in BaseCryptLib can't seed the pseudorandom number generator properly eddie wang
2024-02-07 21:03 ` Laszlo Ersek
2024-02-15 11:09   ` eddie wang [this message]
2024-02-15 11:48     ` Laszlo Ersek
2024-02-17  9:17       ` eddie wang
2024-02-19 20:18         ` Laszlo Ersek
2024-02-20  1:11           ` Yao, Jiewen
2024-02-20  1:49             ` Li, Yi
2024-02-29  9:48               ` eddie wang
2024-02-29 11:23                 ` Li, Yi

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=CAOwpOhLB-gsSVs0dyzr9Jzz+TGRvupkkAPfa5Vm5RvwKRO5kBA@mail.gmail.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