algorithm.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 
35 typedef uint32_t psa_algorithm_t;
36 
42 #define PSA_ALG_NONE ((psa_algorithm_t)0)
43 
47 #define PSA_ALG_CATEGORY_MASK ((psa_algorithm_t)0x7f000000)
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
uint32_t psa_algorithm_t
Encoding of a cryptographic algorithm.
Definition: algorithm.h:35