blob: 502dee28ae9bd7676f032b83f59ba45c87ecda18 [file] [log] [blame]
Miklos Balintbf25a402018-06-14 17:43:54 +02001/*
Kevin Peng578a8492020-12-31 10:22:59 +08002 * Copyright (c) 2018-2021, Arm Limited. All rights reserved.
Miklos Balintbf25a402018-06-14 17:43:54 +02003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
Mate Toth-Pal36f21842018-11-08 16:12:51 +01008{{utilities.donotedit_warning}}
Miklos Balintbf25a402018-06-14 17:43:54 +02009
10#ifndef __TFM_VENEERS_H__
11#define __TFM_VENEERS_H__
12
13#include "tfm_api.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
Kevin Peng578a8492020-12-31 10:22:59 +080019{% for partition in partitions %}
20 {% if partition.attr.conditional %}
21#ifdef {{partition.attr.conditional}}
Mate Toth-Pal36f21842018-11-08 16:12:51 +010022 {% endif %}
Kevin Peng578a8492020-12-31 10:22:59 +080023/******** {{partition.manifest.name}} ********/
24 {% for function in partition.manifest.secure_functions%}
Edison Aifeb0f0c2019-04-16 14:49:05 +080025psa_status_t tfm_{{function.signal.lower()}}_veneer(psa_invec *in_vec, size_t in_len, psa_outvec *out_vec, size_t out_len);
Mate Toth-Pal36f21842018-11-08 16:12:51 +010026 {% endfor %}
Kevin Peng578a8492020-12-31 10:22:59 +080027 {% if partition.attr.conditional %}
28#endif /* {{partition.attr.conditional}} */
Mate Toth-Pal36f21842018-11-08 16:12:51 +010029 {% endif %}
Miklos Balintbf25a402018-06-14 17:43:54 +020030
Mate Toth-Pal36f21842018-11-08 16:12:51 +010031{% endfor %}
Miklos Balintbf25a402018-06-14 17:43:54 +020032#ifdef __cplusplus
33}
34#endif
35
36#endif /* __TFM_VENEERS_H__ */