Re: [PATCH v4 00/22] lib: Rust implementation of SPDM

From: Miguel Ojeda

Date: Thu Oct 15 2026 - 01:55:00 EST


On Thu, Oct 15, 2026 at 7:23 AM Alistair Francis <alistair23@xxxxxxxxx> wrote:
>
> I was trying to avoid adding crypto and X.509 bindings in this series,
> as that's a few more subsystems this ends up touching. We need to add
> PQC as well, so crypto bindings are next on the todo list once this is
> merged.
>
> Is this going to stall on adding crypto bindings?

The general rule is to add safe abstractions first, and their
dependencies (i.e. other safe abstractions), then finally the users.
That is, adding code that calls C bindings directly without a proper
abstraction is generally not allowed.

Exceptions can be made, of course, but they need to be justified, i.e.
there are cases where the kernel may really need some code to land,
but one needs to argue why -- it is definitely not the default.

Cheers,
Miguel