Re: [RFC PATCH v1 18/38] X.509: Move certificate length retrieval into new helper

Bjorn Helgaas
2025-08-04T22:27:46Z

On Mon, Jul 28, 2025 at 07:21:55PM +0530, Aneesh Kumar K.V (Arm) wrote:
> From: Lukas Wunner <lukas@wunner.de>
>
> The upcoming in-kernel SPDM library (Security Protocol and Data Model,
> https://www.dmtf.org/dsp/DSP0274) needs to retrieve the length from
> ASN.1 DER-encoded X.509 certificates.
>
> Such code already exists in x509_load_certificate_list(), so move it
> into a new helper for reuse by SPDM.
>
> Export the helper so that SPDM can be tristate. (Some upcoming users of
> the SPDM libray may be modular, such as SCSI and ATA.)

s/libray/library/