TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
attest_tests_common.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2020, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef __ATTESTATION_TESTS_COMMON_H__
9 #define __ATTESTATION_TESTS_COMMON_H__
10 
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
22 #define TEST_TOKEN_SIZE (0x200)
23 
30 #define TOO_SMALL_TOKEN_BUFFER (16u)
31 
37 #define TEST_CHALLENGE_OBJ_SIZE (PSA_INITIAL_ATTEST_CHALLENGE_SIZE_64)
38 
44 #define INVALID_CHALLENGE_OBJECT_SIZE (PSA_INITIAL_ATTEST_CHALLENGE_SIZE_32 + 1)
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif /* __ATTESTATION_TESTS_COMMON_H__ */