We add more verifiers (sgx-ecdsa/sev-snp/sev/csv) to TDX mode, and also add tdx-ecdsa verifier to SGX mode. To implement the latter, we modified sgx_ecdsa_ocall.c and used the new APIs tee_get_supplemental_data_version_and_size() and tee_verify_quote() to support verification of both TDX and SGX with the same code.
Note that those changes does not require a higher version of the dcap library.
We add more verifiers (sgx-ecdsa/sev-snp/sev/csv) to TDX mode, and also add tdx-ecdsa verifier to SGX mode. To implement the latter, we modified
sgx_ecdsa_ocall.c
and used the new APIstee_get_supplemental_data_version_and_size()
andtee_verify_quote()
to support verification of both TDX and SGX with the same code.Note that those changes does not require a higher version of the dcap library.
deps on #161