[PATCH RFC v3 7/8] attestation: providers: introduce CCA Guest attestation provider

Jason Gunthorpe jgg at ziepe.ca
Fri Nov 27 18:36:48 UTC 2026


On Fri, Nov 27, 2026 at 06:27:12PM +0000, Yeoreum Yun wrote:
> [...]
> > 
> > > +static enum hash_algo cca_guest_attestation_algorithms[] = {
> > > +	HASH_ALGO_SHA512,
> > > +};
> > 
> > static const
> 
> No. it's a scaling issue since the attestion algorithms could be not
> only SHA512 but also SHA256 and SHA384....

Then don't init it here and do it entirely when you query the RSI to
learn the right value

Jason



More information about the Linux-security-module-archive mailing list