TianoCore EDK2 master
|
#include <CrtLibSupport.h>
Go to the source code of this file.
Functions | |
time_t | time (time_t *timer) |
struct tm * | gmtime (const time_t *timer) |
time_t | mktime (struct tm *t) |
unsigned int | sleep (unsigned int seconds) |
int | gettimeofday (struct timeval *tv, struct timezone *tz) |
Variables | |
long | timezone |
C Run-Time Libraries (CRT) Time Management Routines Wrapper Implementation for OpenSSL-based Cryptographic Library.
This C file implements constant time value for time() and NULL for gmtime() thus should not be used in library instances which require functionality of following APIs which need system time support: 1) RsaGenerateKey 2) RsaCheckKey 3) RsaPkcs1Sign 4) Pkcs7Sign 5) DhGenerateParameter 6) DhGenerateKey
Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ConstantTimeClock.c.
int gettimeofday | ( | struct timeval * | tv, |
struct timezone * | tz | ||
) |
Definition at line 63 of file ConstantTimeClock.c.
struct tm * gmtime | ( | const time_t * | timer | ) |
Definition at line 39 of file ConstantTimeClock.c.
time_t mktime | ( | struct tm * | t | ) |
Definition at line 47 of file ConstantTimeClock.c.
unsigned int sleep | ( | unsigned int | seconds | ) |
Definition at line 55 of file ConstantTimeClock.c.
time_t time | ( | time_t * | timer | ) |
Definition at line 27 of file ConstantTimeClock.c.
long timezone |
Definition at line 73 of file ConstantTimeClock.c.