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

FSBL Required? #210

Closed
jctullos opened this issue Sep 23, 2020 · 3 comments
Closed

FSBL Required? #210

jctullos opened this issue Sep 23, 2020 · 3 comments
Labels

Comments

@jctullos
Copy link

I'm using the modified FU540 FSBL for some of the FPGA builds to boot Keystone. On one of my builds, it'll take some extra work to get it added in. Is the SM specific code in the FSBL required for correct operation? I know the test keys are in the lds for riscv-pk, so it saves me some time if I don't have to implement the FSBL portion.

Thank you!

@dayeol
Copy link
Contributor

dayeol commented Sep 29, 2020

FSBL is required only for getting the valid remote attestation report.
Keystone framework itself doesn't include any hardware components such as secure booting (e.g., hardware hashes the boot image and then signs it) so we're basically emulating it via FSBL (or bootrom). The only thing FSBL does is to provide the security monitor key and then generate the report.

Attestation will not be valid until you have solid hardware that does all of these. We're "emulating" all of these processes anyways, so if you're not interested in the attestation-related features, then you can just skip the FSBL part.
You'll still be able to create/launch an enclave, but the attestation will never succeed (as the attestation key will be all 0s).

Note that we don't emulate bootrom in FireSim as well, so attestation will not work in FireSim.

@dayeol
Copy link
Contributor

dayeol commented Sep 29, 2020

Closing

@dayeol dayeol closed this as completed Sep 29, 2020
@jctullos
Copy link
Author

jctullos commented Oct 4, 2020

@dayeol That's great, thank you for the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants