algorithm.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_ALGORITHM_H
23 #define PSA_CRYPTO_PSA_ALGORITHM_H
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 #include <stdint.h>
30 
39 typedef uint32_t psa_algorithm_t;
40 
46 #define PSA_ALG_NONE ((psa_algorithm_t)0)
47 
51 #define PSA_ALG_CATEGORY_MASK ((psa_algorithm_t)0x7f000000)
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif /* PSA_CRYPTO_PSA_ALGORITHM_H */
uint32_t psa_algorithm_t
Encoding of a cryptographic algorithm.
Definition: algorithm.h:39