You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The specification uses C enums within (packed?) structs. However the size of such fields is ill-defined. This occurs in AttestationCapabilities and MeasurementRegisterDescriptor.
The text was updated successfully, but these errors were encountered:
enums should be of size int - also the structs are not packed but what would you suggest? We can use the C23 convention to specify the size of the enum.
It needs to be able to represent an int but the actual storage size is up to the compiler. In particular the RISC-V ABI does not define a fixed size for C enums.
We can use the C23 convention to specify the size of the enum.
That would work.
also the structs are not packed but what would you suggest?
The specification uses C
enum
s within (packed?) structs. However the size of such fields is ill-defined. This occurs inAttestationCapabilities
andMeasurementRegisterDescriptor
.The text was updated successfully, but these errors were encountered: