-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSGX_Measurement.hpp
81 lines (44 loc) · 1.13 KB
/
SGX_Measurement.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*!
*
* SGX_Measurement.hpp
*
* Copyright (c) 2020 IWATA Daiki
*
* This software is released under the MIT License.
* see http://opensource.org/licenses/mit-license
*
*/
#ifndef _SGX_Measurement_hpp
#define SGX_Measurement_hpp
#pragma once
#include "Enclave_u.h"
#include <iostream>
#include <chrono>
using namespace std;
void OCALL_chrono_start();
double OCALL_chrono_end();
void OCALL_chrono_Total_start();
void OCALL_chrono_Total_end();
void OCALL_chrono_AESenc_start();
void OCALL_chrono_AESenc_end();
void OCALL_chrono_AESdec_start();
void OCALL_chrono_AESdec_end();
void OCALL_chrono_FileIn_start();
void OCALL_chrono_FileIn_end();
void OCALL_chrono_FileOut_start();
void OCALL_chrono_FileOut_end();
void OCALL_chrono_GetPath_start();
void OCALL_chrono_GetPath_end();
void OCALL_chrono_WritePath_start();
void OCALL_chrono_WritePath_end();
void OCALL_chrono_Check_start();
void OCALL_chrono_Check_end();
void OCALL_ShowMeasuredTime();
void OCALL_FS_start();
void OCALL_FS_end();
void OCALL_ML_start();
void OCALL_ML_end();
void OCALL_res_start();
void OCALL_res_end();
void OCALL_ExpResult();
#endif