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

From: Jason Gunthorpe

Date: Fri Nov 27 2026 - 13:36:57 EST


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