On 02/09/2016 12:32 AM, Jeremy Linton wrote:
On 02/08/2016 06:55 AM, Ard Biesheuvel wrote:
Since my KASLR implementation for arm64 Linux is based on the EFI_RNG_PROTOCOL (at least for UEFI systems), which is not yet widely available on systems that are under developement currently, this implements a pseudo-random version for ARM Juno. This code is not suitable for production, but since Juno is strictly a development platform, that concern does not apply here. Note that the library is delivered as a binary which prints a warning to the console the first time it is called.
This is handy, I needed a reasonable way to generate some serial numbers in the SMBIOS data, and my prng code is ugly.
Is there a reason why its checked in as a binary? I've had to rebuild the shell a couple times and its a PITA because its also checked in as a binary.
I agree; even it is not safe for production, it still provides a good reference to develop a production version. So I think it will be better for us to have the source code.
I even think we can move it out of the directory "Platforms/ARM" and to a common directory, because it should be a software emulation and hardware independent.
Thanks.
Heyi
Linaro-uefi mailing list Linaro-uefi@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-uefi