audk/SecurityPkg
Flickdm a85336531c SecurityPkg RngDxe: Remove incorrect limitation on GetRng
Removed from gEfiRngAlgorithmRaw an incorrect assumption that
Raw cannot return less than 256 bits. The DRNG Algorithms
should always use a 256 bit seed as per nist standards
however a caller is free to request less than 256 bits.
>
>     //
>    // When a DRBG is used on the output of a entropy source,
>    // its security level must be at least 256 bits according to UEFI
Spec.
>    //
>    if (RNGValueLength < 32) {
>      return EFI_INVALID_PARAMETER;
>    }
>

AARCH64 platforms do not have this limitation and this brings both
implementations into alignment with each other and the spec.

Cc: Jiewen Yao <jiewen.yao@intel.com>

Signed-off-by: Doug Flick [MSFT] <doug.edk2@gmail.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>
Acked-by: Jiewe Yao <Jiewen.yao@intel.com>
2024-05-24 15:48:52 +00:00
..
DeviceSecurity SecurityPkg: Add libspdm submodule 2024-04-30 02:21:13 +00:00
EnrollFromDefaultKeysApp SecurityPkg: Secure Boot Drivers: Added common header files 2022-07-07 01:07:00 +00:00
FvReportPei SecurityPkg/FvReportPei: Use FirmwareVolumeShadowPpi 2023-03-27 16:25:51 +00:00
Hash2DxeCrypto SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
HddPassword Securitypkg/hddpassword: Update HddPasswordDxeInit to use Variable Policy 2023-05-08 11:39:32 +00:00
Include SecurityPkg: add DeviceSecurity support 2024-04-30 02:21:13 +00:00
Library SecurityPkg: Add TCG PFP 1.06 support. 2024-04-30 02:21:13 +00:00
Pkcs7Verify/Pkcs7VerifyDxe SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
RandomNumberGenerator/RngDxe SecurityPkg RngDxe: Remove incorrect limitation on GetRng 2024-05-24 15:48:52 +00:00
Tcg SecurityPkg: Recognize sp800155Event3 event 2024-05-07 00:21:40 +00:00
Test SecurityPkg: DxeTpmMeasureBootLib: SECURITY PATCH 4117 - CVE 2022-36763 2024-01-16 07:56:38 +00:00
VariableAuthenticated SecurityPkg/SecureBootConfigDxe: Update UI according to UEFI spec 2024-04-07 02:48:24 +00:00
SecurityFixes.yaml SecurityPkg: : Updating SecurityFixes.yaml after symbol rename 2024-01-18 19:25:14 +00:00
SecurityPkg.ci.yaml SecurityPkg: add DeviceSecurity support 2024-04-30 02:21:13 +00:00
SecurityPkg.dec SecurityPkg: add DeviceSecurity support 2024-04-30 02:21:13 +00:00
SecurityPkg.dsc SecurityPkg: add DeviceSecurity support 2024-04-30 02:21:13 +00:00
SecurityPkg.uni SecurityPkg: SubClassTpm: Updated default value 2023-06-23 16:28:24 +00:00
SecurityPkgExtra.uni