TF-M Reference Manual
1.2.0
TrustedFirmware-M
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
crypto_client_struct.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020, Arm Limited. All rights reserved.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*
6
*/
21
#ifndef PSA_CRYPTO_CLIENT_STRUCT_H
22
#define PSA_CRYPTO_CLIENT_STRUCT_H
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
/* This is the client view of the `key_attributes` structure. Only
29
* fields which need to be set by the PSA crypto client are present.
30
* The PSA crypto service will maintain a different version of the
31
* data structure internally. */
32
struct
psa_client_key_attributes_s
33
{
34
uint32_t
lifetime
;
35
uint32_t
id
;
36
uint32_t
alg
;
37
uint32_t
usage
;
38
size_t
bits
;
39
uint16_t
type
;
40
};
41
42
#define PSA_CLIENT_KEY_ATTRIBUTES_INIT {0, 0, 0, 0, 0, 0}
43
44
#ifdef __cplusplus
45
}
46
#endif
47
48
#endif
/* PSA_CRYPTO_CLIENT_STRUCT_H */
psa_client_key_attributes_s::usage
uint32_t usage
Definition:
crypto_client_struct.h:37
psa_client_key_attributes_s::type
uint16_t type
Definition:
crypto_client_struct.h:39
psa_client_key_attributes_s::id
uint32_t id
Definition:
crypto_client_struct.h:35
psa_client_key_attributes_s::lifetime
uint32_t lifetime
Definition:
crypto_client_struct.h:34
psa_client_key_attributes_s
Definition:
crypto_client_struct.h:32
psa_client_key_attributes_s::alg
uint32_t alg
Definition:
crypto_client_struct.h:36
psa_client_key_attributes_s::bits
size_t bits
Definition:
crypto_client_struct.h:38
interface
include
psa
crypto_client_struct.h
Generated on Thu Feb 18 2021 13:29:09 for TF-M Reference Manual by
1.8.6