Re: [PATCH v2 09/21] lib: rspdm: Initial commit of Rust SPDM
From: Julian Braha
Date: Tue Jun 23 2026 - 14:59:22 EST
Hi Alistair,
On 6/23/26 05:53, alistair23@xxxxxxxxx wrote:
> +config RSPDM
> + bool "Rust SPDM"
> + depends on RUST
> + select CRYPTO
> + select X509_CERTIFICATE_PARSER
> + help
> + The Rust implementation of the Security Protocol and Data Model (SPDM)
> + allows for device authentication, measurement, key exchange and
> + encrypted sessions.
> +
> + Crypto algorithms negotiated with SPDM are limited to those enabled
> + in .config. Users of SPDM therefore need to also select
> + any algorithms they deem mandatory.
This patch introduces an unmet dependency bug when the user enables
RSPDM without enabling ASYMMETRIC_PUBLIC_KEY_SUBTYPE:
WARNING: unmet direct dependencies detected for X509_CERTIFICATE_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=n] &&
ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- RSPDM [=y] && RUST [=y]
- Julian Braha