TianoCore EDK2
master
Loading...
Searching...
No Matches
ConstantTimeClock.c
Go to the documentation of this file.
1
20
#include <
CrtLibSupport.h
>
21
22
//
23
// -- Time Management Routines --
24
//
25
26
time_t
27
time (
28
time_t *timer
29
)
30
{
31
if
(timer !=
NULL
) {
32
*timer = 0;
33
}
34
35
return
0;
36
}
37
38
struct
tm
*
39
gmtime
(
40
const
time_t *timer
41
)
42
{
43
return
NULL
;
44
}
45
46
time_t
47
mktime (
48
struct
tm
*t
49
)
50
{
51
return
0;
52
}
53
54
unsigned
int
55
sleep (
56
unsigned
int
seconds
57
)
58
{
59
return
0;
60
}
61
62
int
63
gettimeofday (
64
struct
timeval
*tv,
65
struct
timezone *tz
66
)
67
{
68
tv->tv_sec = 0;
69
tv->tv_usec = 0;
70
return
0;
71
}
72
73
long
timezone;
CrtLibSupport.h
gmtime
struct tm * gmtime(const time_t *)
Definition:
ConstantTimeClock.c:39
NULL
#define NULL
Definition:
Base.h:319
timeval
Definition:
CrtLibSupport.h:146
tm
Definition:
ConstantTimeClock.c:28
CryptoPkg
Library
BaseCryptLib
SysCall
ConstantTimeClock.c
Generated on Fri Nov 15 2024 18:01:05 for TianoCore EDK2 by
1.9.6