5
5
*
6
6
*/
7
7
8
+ /** @addtogroup PSA-Attestation
9
+ * @{
10
+ */
11
+
12
+
8
13
#ifndef __ATTESTATION_H__
9
14
#define __ATTESTATION_H__
10
15
15
20
extern "C" {
16
21
#endif
17
22
18
- /*!
23
+ /**
19
24
* \brief Type of memory access
20
25
*/
21
26
enum attest_memory_access_t {
22
27
TFM_ATTEST_ACCESS_RO = 1 ,
23
28
TFM_ATTEST_ACCESS_RW = 2 ,
24
29
};
25
30
26
- /*!
31
+ /**
27
32
* \brief Copy the boot data (coming from boot loader) from shared memory area
28
33
* to service memory area
29
34
*
@@ -36,7 +41,7 @@ enum attest_memory_access_t {
36
41
enum psa_attest_err_t
37
42
attest_get_boot_data (uint8_t major_type , void * ptr , uint32_t len );
38
43
39
- /*!
44
+ /**
40
45
* \brief Get the ID of the caller thread.
41
46
*
42
47
* \param[out] caller_id Pointer where to store caller ID
@@ -46,7 +51,7 @@ attest_get_boot_data(uint8_t major_type, void *ptr, uint32_t len);
46
51
enum psa_attest_err_t
47
52
attest_get_caller_client_id (int32_t * caller_id );
48
53
49
- /*!
54
+ /**
50
55
* \brief Verify memory access rights
51
56
*
52
57
* \param[in] addr Pointer to the base of the address range to check
@@ -61,7 +66,7 @@ attest_check_memory_access(void *addr,
61
66
uint32_t size ,
62
67
enum attest_memory_access_t access );
63
68
64
- /*!
69
+ /**
65
70
* \brief Initialise the initial attestation service during the TF-M boot up
66
71
* process.
67
72
*
@@ -70,7 +75,7 @@ attest_check_memory_access(void *addr,
70
75
*/
71
76
enum psa_attest_err_t attest_init (void );
72
77
73
- /*!
78
+ /**
74
79
* \brief Get initial attestation token
75
80
*
76
81
* \param[in] in_vec Pointer to in_vec array, which contains input data
@@ -105,4 +110,6 @@ initial_attest_get_token_size(const psa_invec *in_vec, uint32_t num_invec,
105
110
}
106
111
#endif
107
112
113
+ /** @}*/ // PSA-Attestation
114
+
108
115
#endif /* __ATTESTATION_H__ */
0 commit comments