Hello All, I am using the QEMU for emulating nitro enclave images. In my enclave image, I have an attestation service implemented in Rust. This application fetches attestations using IOCTL command. I have noticed that response from the nsm virtio device is always of length 0x3000 (i.e. maximum NSM response size). Instead, it should be the actual size of response bytes. Same case is also happening with the attestation service implemented in python. On the other hand, the same Rust attestation service is working with AWS nitro enclaves. It looks like an NSM emulation issue.
I would like to confirm if this is the expected behaviour and need help on further debugging. Regards, Vikrant