From 0c6d015cf510ae66a5b4090855bb851db844ae59 Mon Sep 17 00:00:00 2001 From: Sascha Tommasone Date: Wed, 3 Jul 2024 16:56:09 +0200 Subject: [PATCH] [Assignment-7] authorized public keys --- 7-SGX_Hands-on/src/enclave/enclave.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/7-SGX_Hands-on/src/enclave/enclave.c b/7-SGX_Hands-on/src/enclave/enclave.c index 14f6a8a..2c62e70 100644 --- a/7-SGX_Hands-on/src/enclave/enclave.c +++ b/7-SGX_Hands-on/src/enclave/enclave.c @@ -53,6 +53,17 @@ #define SI_SIZE 2*SK_SIZE #endif +const sgx_ec256_public_t authorized[2] = { + { + 0, + 0 + }, + { + 0, + 0 + } +}; + int get_sealed_size() { return sgx_calc_sealed_data_size(PK_SIZE, SK_SIZE); }