aboutsummaryrefslogtreecommitdiff
path: root/interface/include/tfm_veneers.h.template
blob: 502dee28ae9bd7676f032b83f59ba45c87ecda18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * Copyright (c) 2018-2021, Arm Limited. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 *
 */

{{utilities.donotedit_warning}}

#ifndef __TFM_VENEERS_H__
#define __TFM_VENEERS_H__

#include "tfm_api.h"

#ifdef __cplusplus
extern "C" {
#endif

{% for partition in partitions %}
    {% if partition.attr.conditional %}
#ifdef {{partition.attr.conditional}}
    {% endif %}
/******** {{partition.manifest.name}} ********/
    {% for function in partition.manifest.secure_functions%}
psa_status_t tfm_{{function.signal.lower()}}_veneer(psa_invec *in_vec, size_t in_len, psa_outvec *out_vec, size_t out_len);
    {% endfor %}
    {% if partition.attr.conditional %}
#endif /* {{partition.attr.conditional}} */
    {% endif %}

{% endfor %}
#ifdef __cplusplus
}
#endif

#endif /* __TFM_VENEERS_H__ */