Mbed TLS v3.6.1
crypto_driver_contexts_key_derivation.h
Go to the documentation of this file.
1 /*
2  * Declaration of context structures for use with the PSA driver wrapper
3  * interface. This file contains the context structures for key derivation
4  * operations.
5  *
6  * Warning: This file will be auto-generated in the future.
7  *
8  * \note This file may not be included directly. Applications must
9  * include psa/crypto.h.
10  *
11  * \note This header and its content are not part of the Mbed TLS API and
12  * applications must not depend on it. Its main purpose is to define the
13  * multi-part state objects of the PSA drivers included in the cryptographic
14  * library. The definitions of these objects are then used by crypto_struct.h
15  * to define the implementation-defined types of PSA multi-part state objects.
16  */
17 /* Copyright The Mbed TLS Contributors
18  * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
19  */
20 
21 #ifndef PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H
22 #define PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H
23 
25 
26 /* Include the context structure definitions for the Mbed TLS software drivers */
28 
29 /* Include the context structure definitions for those drivers that were
30  * declared during the autogeneration process. */
31 
32 typedef union {
33  unsigned dummy; /* Make sure this union is always non-empty */
34 #if defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF) || \
35  defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXTRACT) || \
36  defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXPAND)
38 #endif
39 #if defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_PRF) || \
40  defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_PSK_TO_MS)
42 #endif
43 #if defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_ECJPAKE_TO_PMS)
45 #endif
46 #if defined(PSA_HAVE_SOFT_PBKDF2)
47  psa_pbkdf2_key_derivation_t MBEDTLS_PRIVATE(pbkdf2);
48 #endif
50 
51 #endif /* PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H */
52 /* End of automatically generated file. */
Definitions for all PSA crypto drivers.
#define MBEDTLS_PRIVATE(member)