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 E2D59AC15B8 for ; Tue, 6 Feb 2024 14:56:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=88/08tiy1W8GXASMf7G39rcQ9fGFdFlViJYi1Jhe+NY=; c=relaxed/simple; d=groups.io; h=MIME-Version:From:Date:Message-ID:Subject:To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1707231385; v=1; b=mE8bcz4wdmsB3Ul828jdHCSwwNAYB2JYw/YL0Rx16j9FLc7kKcSPwSihMERjloAGgHx0BXcF Jb2B3NE/BeJS285nu3ilUUBkdghrJp1js2CSI+68tTL54utgTfOSt3QmO+56iZUJZlpd8LaycYO sndSiUs2dy/egGWuJ+HJhXEI= X-Received: by 127.0.0.2 with SMTP id 3eKWYY7687511xncKH4ooKSa; Tue, 06 Feb 2024 06:56:25 -0800 X-Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) by mx.groups.io with SMTP id smtpd.web11.16530.1707202867990926105 for ; Mon, 05 Feb 2024 23:01:08 -0800 X-Received: by mail-oo1-f44.google.com with SMTP id 006d021491bc7-59a146e8c85so313668eaf.0 for ; Mon, 05 Feb 2024 23:01:07 -0800 (PST) X-Gm-Message-State: 9vzgRM5Xfai3o7e9zgYLuVr0x7686176AA= X-Google-Smtp-Source: AGHT+IEAq1RCA6Lq09YW3jg9X71KmriC/X+MSp6e06Y2CY5P+PEsf2LoRrafidwVu65YhLZZlX+EF4eVAyrs1/AsnqU= X-Received: by 2002:a05:6358:93a8:b0:175:e1fd:11f8 with SMTP id h40-20020a05635893a800b00175e1fd11f8mr2170844rwb.29.1707202866710; Mon, 05 Feb 2024 23:01:06 -0800 (PST) MIME-Version: 1.0 From: "eddie wang" Date: Tue, 6 Feb 2024 15:00:55 +0800 Message-ID: Subject: [edk2-devel] The API in BaseCryptLib can't seed the pseudorandom number generator properly To: devel@edk2.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,qw1562435@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: multipart/alternative; boundary="0000000000006e0ad90610b1246f" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=mE8bcz4w; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.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 --0000000000006e0ad90610b1246f Content-Type: text/plain; charset="UTF-8" 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? BR, Eddie -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115170): https://edk2.groups.io/g/devel/message/115170 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] -=-=-=-=-=-=-=-=-=-=-=- --0000000000006e0ad90610b1246f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,
We had an UEFI application that used the EDK2(= 2023/12/05), and=C2=A0 we would like to take advantage of the services in B= aseCryptLib .However, the API in CryptPkg "RandomSeed()"(X= 64, in CryptRandTsc.c) always returned false because of=C2=A0 the pseudoran= dom 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.=C2=A0

Is ther= e any comments about=C2=A0this issue?

BR,
Eddie
_._,_._,_

Groups.io Links:

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

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

_._,_._,_
--0000000000006e0ad90610b1246f--