Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
usage.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2024 TU Dresden
3
* Copyright (C) 2021 HAW Hamburg
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*/
9
22
#ifndef PSA_CRYPTO_PSA_KEY_USAGE_H
23
#define PSA_CRYPTO_PSA_KEY_USAGE_H
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
#include <stdint.h>
30
34
typedef
uint32_t
psa_key_usage_t
;
35
51
#define PSA_KEY_USAGE_EXPORT ((psa_key_usage_t)0x00000001)
52
66
#define PSA_KEY_USAGE_COPY ((psa_key_usage_t)0x00000002)
67
89
#define PSA_KEY_USAGE_CACHE ((psa_key_usage_t)0x00000004)
90
106
#define PSA_KEY_USAGE_ENCRYPT ((psa_key_usage_t)0x00000100)
107
123
#define PSA_KEY_USAGE_DECRYPT ((psa_key_usage_t)0x00000200)
124
137
#define PSA_KEY_USAGE_SIGN_MESSAGE ((psa_key_usage_t)0x00000400)
138
151
#define PSA_KEY_USAGE_VERIFY_MESSAGE ((psa_key_usage_t)0x00000800)
152
168
#define PSA_KEY_USAGE_SIGN_HASH ((psa_key_usage_t)0x00001000)
169
185
#define PSA_KEY_USAGE_VERIFY_HASH ((psa_key_usage_t)0x00002000)
186
202
#define PSA_KEY_USAGE_DERIVE ((psa_key_usage_t)0x00004000)
203
217
#define PSA_KEY_USAGE_VERIFY_DERIVATION ((psa_key_usage_t)0x00008000)
218
219
#ifdef __cplusplus
220
}
221
#endif
222
223
#endif
/* PSA_CRYPTO_PSA_KEY_USAGE_H */
psa_key_usage_t
uint32_t psa_key_usage_t
Encoding of permitted usage on a key.
Definition
usage.h:34
Generated on Sat Dec 21 2024 20:58:04 by
1.9.8