Skip to main content

kernel_signing_backend

Function kernel_signing_backend 

Source
pub fn kernel_signing_backend(
    crypto_floor: KernelCryptoFloor,
    classical_keypair: Keypair,
    _pq_seed: Option<&[u8; 32]>,
) -> Result<Box<dyn SigningBackend>, KernelSigningBackendError>
Expand description

Construct the kernel-side receipt signing backend without the pq feature.

Without the pq feature, only KernelCryptoFloor::AllowClassical is constructible; any other floor returns KernelSigningBackendError::HybridFloorRequiresPqKey. This preserves the fail-closed contract for default builds.