Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vexpress,qemu: Change memory layout #45

Merged
1 commit merged into from
Sep 11, 2014
Merged

Conversation

jenswi-linaro
Copy link
Contributor

Start QEMU with -m 1057
Use vexpress-v2p-ca15-tc1.dtb from the Linux kernel tree

@jbech-linaro
Copy link
Contributor

+1

Start QEMU with -m 1057
Use vexpress-v2p-ca15-tc1.dtb from the Linux kernel tree
@jenswi-linaro
Copy link
Contributor Author

Rebased

@ghost ghost merged commit f3d0d79 into OP-TEE:master Sep 11, 2014
@jenswi-linaro jenswi-linaro deleted the qemutz branch September 26, 2014 09:59
CyanDevs pushed a commit to CyanDevs/optee_os that referenced this pull request Jan 23, 2023
* imx: Add fsl_sec driver for RNG and identity

This fsl_sec driver is ported from the PPA implementation by NXP.

Temporarily included in OP-TEE to provide hardware RNG and OTPMK
derrived identity until a more complete CAAM implementation is ported.

To enable the fsl_sec driver you must set the following configs:
CFG_FSL_SEC=y
CFG_WITH_SOFTWARE_PRNG=n

The RNG calls the CAAM to fill a 256 byte buffer, then iterates through
the buffer to return bytes to callers until it exhausts its pool of
random numbers, at which point it will call the CAAM again. This is to
reduce the performance cost of RNG reads since 16 byte buffers are
requested frequently during RPMB initialization.

The identity derrivation sets the key source to OTPMK and rolls forward
the PRIBLOB to 11 normal mode. This ensures that the identity derived
for RPMB is identical between booting from Cyres SPL and non-Cyres SPL.
If the device isn't in a secure/trusted state it will return a failure
on device identity so that a false RPMB key will not be burned.

Signed-off-by: Henry Beberman <hebeberm@microsoft.com>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants