Mbed TLS v3.5.0
include
psa
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
19
*
20
* Licensed under the Apache License, Version 2.0 (the "License"); you may
21
* not use this file except in compliance with the License.
22
* You may obtain a copy of the License at
23
*
24
* http://www.apache.org/licenses/LICENSE-2.0
25
*
26
* Unless required by applicable law or agreed to in writing, software
27
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
28
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29
* See the License for the specific language governing permissions and
30
* limitations under the License.
31
*/
32
33
#ifndef PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H
34
#define PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H
35
36
#include "
psa/crypto_driver_common.h
"
37
38
/* Include the context structure definitions for the Mbed TLS software drivers */
39
#include "
psa/crypto_builtin_key_derivation.h
"
40
41
/* Include the context structure definitions for those drivers that were
42
* declared during the autogeneration process. */
43
44
typedef
union
{
45
unsigned
dummy
;
/* Make sure this union is always non-empty */
46
#if defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF) || \
47
defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXTRACT) || \
48
defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXPAND)
49
psa_hkdf_key_derivation_t
MBEDTLS_PRIVATE
(hkdf);
50
#endif
51
#if defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_PRF) || \
52
defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_PSK_TO_MS)
53
psa_tls12_prf_key_derivation_t
MBEDTLS_PRIVATE
(tls12_prf);
54
#endif
55
#if defined(MBEDTLS_PSA_BUILTIN_ALG_TLS12_ECJPAKE_TO_PMS)
56
psa_tls12_ecjpake_to_pms_t
MBEDTLS_PRIVATE
(tls12_ecjpake_to_pms);
57
#endif
58
#if defined(PSA_HAVE_SOFT_PBKDF2)
59
psa_pbkdf2_key_derivation_t
MBEDTLS_PRIVATE
(pbkdf2);
60
#endif
61
}
psa_driver_key_derivation_context_t
;
62
63
#endif
/* PSA_CRYPTO_DRIVER_CONTEXTS_KEY_DERIVATION_H */
64
/* End of automatically generated file. */
crypto_builtin_key_derivation.h
crypto_driver_common.h
Definitions for all PSA crypto drivers.
MBEDTLS_PRIVATE
#define MBEDTLS_PRIVATE(member)
Definition:
private_access.h:27
psa_hkdf_key_derivation_t
Definition:
crypto_builtin_key_derivation.h:42
psa_tls12_ecjpake_to_pms_t
Definition:
crypto_builtin_key_derivation.h:60
psa_tls12_prf_key_derivation_s
Definition:
crypto_builtin_key_derivation.h:76
psa_driver_key_derivation_context_t
Definition:
crypto_driver_contexts_key_derivation.h:44
psa_driver_key_derivation_context_t::dummy
unsigned dummy
Definition:
crypto_driver_contexts_key_derivation.h:45
Generated on Mon Oct 9 2023 14:50:50 for Mbed TLS v3.5.0 by
1.9.4