Mbed OS Reference
Loading...
Searching...
No Matches
timing_alt.h
1
/*
2
* timing_alt.h
3
*
4
* Copyright (C) 2021, Arm Limited, All Rights Reserved
5
* SPDX-License-Identifier: Apache-2.0
6
*
7
* Licensed under the Apache License, Version 2.0 (the "License"); you may
8
* not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
* See the License for the specific language governing permissions and
17
* limitations under the License.
18
*
19
*/
20
21
#ifndef TIMING_ALT_H
22
#define TIMING_ALT_H
23
24
#include "
mbedtls/timing.h
"
25
#if defined(MBEDTLS_TIMING_ALT)
26
27
struct
mbedtls_timing_hr_time
28
{
29
unsigned
long
start;
30
};
31
32
typedef
struct
mbedtls_timing_delay_context
33
{
34
struct
mbedtls_timing_hr_time
timer;
35
uint32_t int_ms;
36
uint32_t fin_ms;
37
}
mbedtls_timing_delay_context
;
38
39
#endif
40
#endif
mbedtls_timing_delay_context
Context for mbedtls_timing_set/get_delay()
Definition:
timing.h:60
mbedtls_timing_hr_time
timer structure
Definition:
timing.h:52
timing.h
Portable interface to timeouts and to the CPU cycle counter.
connectivity
mbedtls
platform
inc
timing_alt.h
Generated by
1.9.5