1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2022-2023 The MobileCoin Foundation

#![doc = include_str!("../README.md")]
#![no_std]
#![allow(non_camel_case_types, non_snake_case, non_upper_case_globals)]

use mc_sgx_core_sys_types::{
    sgx_attributes_t, sgx_config_id_t, sgx_config_svn_t, sgx_misc_select_t, SGX_CONFIGID_SIZE,
};
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

impl Default for sgx_kss_config_t {
    fn default() -> sgx_kss_config_t {
        sgx_kss_config_t {
            config_id: [0; SGX_CONFIGID_SIZE],
            config_svn: 0,
        }
    }
}