crypto_values.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 HAW Hamburg
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 #include "crypto_types.h"
32 #include "psa/hash/algorithm.h"
33 #include "psa/mac/algorithm.h"
34 #include "psa/cipher/algorithm.h"
35 #include "psa/aead/algorithm.h"
40 
47 #define PSA_KEY_DERIVATION_INPUT_CONTEXT /* implementation-defined value */
48 
54 #define PSA_KEY_DERIVATION_INPUT_COST /* implementation-defined value */
55 
62 #define PSA_KEY_DERIVATION_INPUT_INFO /* implementation-defined value */
63 
70 #define PSA_KEY_DERIVATION_INPUT_LABEL /* implementation-defined value */
71 
84 #define PSA_KEY_DERIVATION_INPUT_PASSWORD /* implementation-defined value */
85 
92 #define PSA_KEY_DERIVATION_INPUT_SALT /* implementation-defined value */
93 
105 #define PSA_KEY_DERIVATION_INPUT_SECRET /* implementation-defined value */
106 
113 #define PSA_KEY_DERIVATION_INPUT_SEED /* implementation-defined value */
114 
122 #define PSA_KEY_DERIVATION_UNLIMITED_CAPACITY \
123 /* implementation-defined value */
124 
134 #define PSA_RAW_KEY_AGREEMENT_OUTPUT_MAX_SIZE \
135 /* implementation-defined value */
136 
153 #define PSA_RAW_KEY_AGREEMENT_OUTPUT_SIZE(key_type, key_bits) \
154 /* implementation-defined value */
155 
167 #define PSA_SIGNATURE_MAX_SIZE /* implementation-defined value */
168 
185 #define PSA_TLS12_PSK_TO_MS_PSK_MAX_SIZE /* implementation-defined value */
186 
187 #ifdef __cplusplus
188 }
189 #endif
190 
AEAD algorithm definitions for the PSA Crypto API.
Asymmetric encryption algorithm definitions for the PSA Crypto API.
Asymmetric signature algorithm definitions for the PSA Crypto API.
Cipher algorithm definitions for the PSA Crypto API.
Type definitions for PSA Crypto.
Hash algorithm definitions for the PSA Crypto API.
Key agreement algorithm definitions for the PSA Crypto API.
Key derivation algorithm definitions for the PSA Crypto API.
MAC algorithm definitions for the PSA Crypto API.