blob: 1882b64164862ffcc6df151d2a86624db54dd180 [file] [log] [blame]
Antonio de Angelis377a1552018-11-22 17:02:40 +00001/*
2 * Copyright (c) 2019, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7/**
8 * \file psa_crypto_struct.h
9 *
10 * \brief PSA cryptography module: structured type implementations
11 *
12 * \note This file may not be included directly. Applications must
13 * include psa_crypto.h.
14 *
15 * This file contains the definitions of some data structures with
16 * implementation-specific definitions.
17 *
18 * In implementations with isolation between the application and the
19 * cryptography module, it is expected that the front-end and the back-end
20 * would have different versions of this file.
21 */
22
23#ifndef PSA_CRYPTO_STRUCT_H
24#define PSA_CRYPTO_STRUCT_H
25
26struct psa_hash_operation_s
27{
28 uint32_t handle;
29};
30
31struct psa_mac_operation_s
32{
33 uint32_t handle;
34};
35
36struct psa_cipher_operation_s
37{
38 uint32_t handle;
39};
40
41struct psa_key_policy_s
42{
43 psa_key_usage_t usage;
44 psa_algorithm_t alg;
45};
46
47#endif /* PSA_CRYPTO_STRUCT_H */