Re: [PATCH v12 13/22] gpu: nova-core: Hopper/Blackwell: add FMC signature extraction
From: Timur Tabi
Date: Tue Jun 02 2026 - 20:04:49 EST
On Mon, 2026-06-01 at 20:21 -0700, John Hubbard wrote:
> +/// Size of the FSP SHA-384 hash, in bytes.
> +const FSP_HASH_SIZE: usize = 48;
> +/// Maximum size of the FSP public key (RSA-3072), in bytes.
> +///
> +/// The FMC ELF `publickey` section may be shorter, so the remaining bytes are zero-padded.
> +const FSP_PKEY_SIZE: usize = 384;
> +/// Maximum size of the FSP signature (RSA-3072), in bytes.
> +///
> +/// The FMC ELF `signature` section may be shorter, so the remaining bytes are zero-padded.
> +const FSP_SIG_SIZE: usize = 384;
How can we be certain that these lengths are really fixed? I can add these length restrictions to
the script that generates the files, but I want to be really certain that they will be correct for
all time.