Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
usage.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2024 TU Dresden
3
* SPDX-FileCopyrightText: 2021 HAW Hamburg
4
* SPDX-License-Identifier: LGPL-2.1-only
5
*/
6
7
#pragma once
8
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
#include <stdint.h>
26
30
typedef
uint32_t
psa_key_usage_t
;
31
47
#define PSA_KEY_USAGE_EXPORT ((psa_key_usage_t)0x00000001)
48
62
#define PSA_KEY_USAGE_COPY ((psa_key_usage_t)0x00000002)
63
85
#define PSA_KEY_USAGE_CACHE ((psa_key_usage_t)0x00000004)
86
102
#define PSA_KEY_USAGE_ENCRYPT ((psa_key_usage_t)0x00000100)
103
119
#define PSA_KEY_USAGE_DECRYPT ((psa_key_usage_t)0x00000200)
120
133
#define PSA_KEY_USAGE_SIGN_MESSAGE ((psa_key_usage_t)0x00000400)
134
147
#define PSA_KEY_USAGE_VERIFY_MESSAGE ((psa_key_usage_t)0x00000800)
148
164
#define PSA_KEY_USAGE_SIGN_HASH ((psa_key_usage_t)0x00001000)
165
181
#define PSA_KEY_USAGE_VERIFY_HASH ((psa_key_usage_t)0x00002000)
182
198
#define PSA_KEY_USAGE_DERIVE ((psa_key_usage_t)0x00004000)
199
213
#define PSA_KEY_USAGE_VERIFY_DERIVATION ((psa_key_usage_t)0x00008000)
214
215
#ifdef __cplusplus
216
}
217
#endif
218
psa_key_usage_t
uint32_t psa_key_usage_t
Encoding of permitted usage on a key.
Definition:
usage.h:30
Generated on Mon Nov 24 2025 18:43:16 by
1.9.1