hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2020, Open Mobile Platform LLC
 */
 
#ifndef TEE_PLUGIN_METHOD_H
#define TEE_PLUGIN_METHOD_H
 
#include <stddef.h>
#include <tee_client_api.h>
 
struct plugin_method {
   const char *name; /* short friendly name of the plugin */
   TEEC_UUID uuid;
   TEEC_Result (*init)(void);
   TEEC_Result (*invoke)(unsigned int cmd, unsigned int sub_cmd,
                 void *data, size_t in_len, size_t *out_len);
};
 
#endif /* TEE_PLUGIN_METHOD_H */