Re: [PATCH RFC 14/20] attestation: Add the base family specification and generated files

From: Jiri Pirko

Date: Thu Nov 05 2026 - 08:53:29 EST


Mon, Oct 26, 2026 at 03:07:54PM +0100, jgg@xxxxxxxxxx wrote:

[..]

>mr-get:
> request:
> id: uint
> reply:
> name: string
> supported-hash-algorithms[]: uint
>
>No definition what these numbers are. They should be TCG2 defined hash
>algorithm constants I guess. Why not have an enum here for them?
>
> caps: mr-caps
> register-index?: uint
>
>So we get a string and a small integer for every MR? Like PCR10 and 10
>for TPM?
>
>=======
>
>mr-dump:
> request: {}
> reply:
> items[]:
> id: uint
> name: string
> supported-hash-algorithms[]: uint
> caps: mr-caps
> register-index?: uint
>
>
>This returns all of the MRs at once?
>
>=======
>
>mr-read:
> request:
> id: uint
> reply:
> generation: uint
> values[]:
> hash-algo: uint
> data: binary
>
>Get, dump and read? I don't get it

This is another netlink-influenced terminology. "get" fetches one object
info, "dump" fetches all objects info. "read" reads a single MR.

I'll remove get and just have dump accepting id as a "filter".