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 
10 #pragma once
11 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 #include <stdint.h>
29 
38 typedef uint32_t psa_algorithm_t;
39 
45 #define PSA_ALG_NONE ((psa_algorithm_t)0)
46 
50 #define PSA_ALG_CATEGORY_MASK ((psa_algorithm_t)0x7f000000)
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
uint32_t psa_algorithm_t
Encoding of a cryptographic algorithm.
Definition: algorithm.h:38