Mbed TLS v4.1.1
Loading...
Searching...
No Matches
crypto_driver_contexts_key_derivation.h
Go to the documentation of this file.
1
19/* Copyright The Mbed TLS Contributors
20 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
21 */
22
23#ifndef PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H
24#define PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H
25
27
28/* Include the context structure definitions for the Mbed TLS software drivers */
29#include "mbedtls/private/crypto_builtin_key_derivation.h"
30
31/* Include the context structure definitions for those drivers that were
32 * declared during the autogeneration process. */
33
34typedef union {
35 unsigned dummy; /* Make sure this union is always non-empty */
36#if defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF) || \
37 defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXTRACT) || \
38 defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXPAND)
39 psa_hkdf_key_derivation_t MBEDTLS_PRIVATE(hkdf);
40#endif
41#if defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_PRF) || \
42 defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_PSK_TO_MS)
43 psa_tls12_prf_key_derivation_t MBEDTLS_PRIVATE(tls12_prf);
44#endif
45#if defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_ECJPAKE_TO_PMS)
46 psa_tls12_ecjpake_to_pms_t MBEDTLS_PRIVATE(tls12_ecjpake_to_pms);
47#endif
48#if defined(PSA_HAVE_SOFT_PBKDF2)
49 psa_pbkdf2_key_derivation_t MBEDTLS_PRIVATE(pbkdf2);
50#endif
52
53#endif /* PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H */
54/* End of automatically generated file. */
Definitions for all PSA crypto drivers.