TF-M Reference Manual
1.2.0
TrustedFirmware-M
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
audit_tests_common.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018-2019, Arm Limited. All rights reserved.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*
6
*/
7
8
#ifndef __AUDIT_TESTS_COMMON_H__
9
#define __AUDIT_TESTS_COMMON_H__
10
11
#include <stddef.h>
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
22
#define STR(a) _STR(a)
23
#define _STR(a) #a
24
31
#define LOCAL_BUFFER_SIZE (80)
32
39
#define LOCAL_BUFFER_ITEMS (2)
40
48
#define STANDARD_LOG_ENTRY_SIZE (28)
49
55
#define INITIAL_LOGGING_REQUESTS (36)
56
62
#define INITIAL_LOGGING_SIZE (1008)
63
72
#define FINAL_LOGGING_REQUESTS (2)
73
82
#define FINAL_LOGGING_SIZE (56)
83
90
#define DUMMY_TEST_RECORD_ID_BASE (0xABCD0000)
91
98
#define SECOND_ELEMENT_EXPECTED_CONTENT ( (DUMMY_TEST_RECORD_ID_BASE) + \
99
(INITIAL_LOGGING_REQUESTS+1+FINAL_LOGGING_REQUESTS) )
100
108
#define MAX_LOG_SIZE (1024)
109
118
#define MAX_LOG_RECORD_SIZE (1000)
119
127
#define INITIAL_LOG_SIZE (FINAL_LOGGING_SIZE)
128
136
#define INITIAL_LOG_RECORDS (FINAL_LOGGING_REQUESTS)
137
138
#ifdef __cplusplus
139
}
140
#endif
141
142
#endif
/* __AUDIT_TESTS_COMMON_H__ */
test
suites
audit
audit_tests_common.h
Generated on Thu Feb 18 2021 13:29:11 for TF-M Reference Manual by
1.8.6