Skip to main content

load_kernel_signing_backend_after_self_quote

Function load_kernel_signing_backend_after_self_quote 

Source
pub fn load_kernel_signing_backend_after_self_quote(
    crypto_floor: KernelCryptoFloor,
    classical_keypair: Keypair,
    pq_seed: Option<&[u8; 32]>,
    quote_bytes: &[u8],
    verifier: &dyn KernelSelfQuoteVerifier,
) -> Result<Box<dyn SigningBackend>, KernelBootError>
Expand description

Load the kernel signing backend, gating the PQ half on a verified self-quote.

Boot logic:

quote_bytes is the on-the-wire self-quote produced by the TEE container. For tests, an empty slice combined with a mock verifier is fine; for production the bytes come from chio-tee.

ยงErrors