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 
22 #ifndef PSA_CRYPTO_PSA_KEY_ID_H
23 #define PSA_CRYPTO_PSA_KEY_ID_H
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 #include <stdint.h>
30 
37 typedef uint32_t psa_key_id_t;
38 
45 #define PSA_KEY_ID_NULL ((psa_key_id_t)0)
46 
50 #define PSA_KEY_ID_USER_MIN ((psa_key_id_t)0x00000001)
51 
55 #define PSA_KEY_ID_USER_MAX ((psa_key_id_t)0x3fffffff)
56 
60 #define PSA_KEY_ID_VENDOR_MIN ((psa_key_id_t)0x40000000)
61 
65 #define PSA_KEY_ID_VENDOR_MAX ((psa_key_id_t)0x7fffffff)
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 #endif /* PSA_CRYPTO_PSA_KEY_ID_H */
uint32_t psa_key_id_t
Key identifier.
Definition: id.h:37