From 94086fb8e31d4c722d242dda6bfae9209dfc4808 Mon Sep 17 00:00:00 2001 From: Ariel Mendelzon Date: Fri, 22 Nov 2024 16:03:54 -0300 Subject: [PATCH] Added SGX endorsement library's envelope function stubs --- firmware/src/hal/sgx/src/trusted/endorsement.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/firmware/src/hal/sgx/src/trusted/endorsement.c b/firmware/src/hal/sgx/src/trusted/endorsement.c index 4d995e2b..2fd21e99 100644 --- a/firmware/src/hal/sgx/src/trusted/endorsement.c +++ b/firmware/src/hal/sgx/src/trusted/endorsement.c @@ -113,6 +113,16 @@ bool endorsement_init() { return true; } +// TODO: Implement +uint8_t* endorsement_get_envelope() { + return NULL; +} + +// TODO: Implement +size_t endorsement_get_envelope_length() { + return 0; +} + bool endorsement_sign(uint8_t* msg, size_t msg_size, uint8_t* signature_out,