id.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 
10 #pragma once
11 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 #include <stdint.h>
29 
36 typedef uint32_t psa_key_id_t;
37 
44 #define PSA_KEY_ID_NULL ((psa_key_id_t)0)
45 
49 #define PSA_KEY_ID_USER_MIN ((psa_key_id_t)0x00000001)
50 
54 #define PSA_KEY_ID_USER_MAX ((psa_key_id_t)0x3fffffff)
55 
59 #define PSA_KEY_ID_VENDOR_MIN ((psa_key_id_t)0x40000000)
60 
64 #define PSA_KEY_ID_VENDOR_MAX ((psa_key_id_t)0x7fffffff)
65 
66 #ifdef __cplusplus
67 }
68 #endif
69 
uint32_t psa_key_id_t
Key identifier.
Definition: id.h:36