![]() |
|
|||
File indexing completed on 2025-08-27 09:43:22
0001 /* 0002 * Declaration of context structures for use with the PSA driver wrapper 0003 * interface. This file contains the context structures for key derivation 0004 * operations. 0005 * 0006 * Warning: This file will be auto-generated in the future. 0007 * 0008 * \note This file may not be included directly. Applications must 0009 * include psa/crypto.h. 0010 * 0011 * \note This header and its content are not part of the Mbed TLS API and 0012 * applications must not depend on it. Its main purpose is to define the 0013 * multi-part state objects of the PSA drivers included in the cryptographic 0014 * library. The definitions of these objects are then used by crypto_struct.h 0015 * to define the implementation-defined types of PSA multi-part state objects. 0016 */ 0017 /* Copyright The Mbed TLS Contributors 0018 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 0019 */ 0020 0021 #ifndef PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H 0022 #define PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H 0023 0024 #include "psa/crypto_driver_common.h" 0025 0026 /* Include the context structure definitions for the Mbed TLS software drivers */ 0027 #include "psa/crypto_builtin_key_derivation.h" 0028 0029 /* Include the context structure definitions for those drivers that were 0030 * declared during the autogeneration process. */ 0031 0032 typedef union { 0033 unsigned dummy; /* Make sure this union is always non-empty */ 0034 #if defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF) || \ 0035 defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXTRACT) || \ 0036 defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXPAND) 0037 psa_hkdf_key_derivation_t MBEDTLS_PRIVATE(hkdf); 0038 #endif 0039 #if defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_PRF) || \ 0040 defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_PSK_TO_MS) 0041 psa_tls12_prf_key_derivation_t MBEDTLS_PRIVATE(tls12_prf); 0042 #endif 0043 #if defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_ECJPAKE_TO_PMS) 0044 psa_tls12_ecjpake_to_pms_t MBEDTLS_PRIVATE(tls12_ecjpake_to_pms); 0045 #endif 0046 #if defined(PSA_HAVE_SOFT_PBKDF2) 0047 psa_pbkdf2_key_derivation_t MBEDTLS_PRIVATE(pbkdf2); 0048 #endif 0049 } psa_driver_key_derivation_context_t; 0050 0051 #endif /* PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H */ 0052 /* End of automatically generated file. */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |