mbedTLS
tls_id_match_table
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
tls_id_match_table
tls_id_match_table variable
Syntax
Show:
Summary
Declaration
from
ssl_tls.c:6252
static
const
struct
{
uint16_t
tls_id
;
mbedtls_ecp_group_id
ecp_group_id
;
psa_ecc_family_t
psa_family
;
uint16_t
bits
;
}
tls_id_match_table
[
]
=
{
#if
defined
(
MBEDTLS_ECP_HAVE_SECP521R1
)
{
25
,
MBEDTLS_ECP_DP_SECP521R1
,
PSA_ECC_FAMILY_SECP_R1
,
521
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_BP512R1
)
{
28
,
MBEDTLS_ECP_DP_BP512R1
,
PSA_ECC_FAMILY_BRAINPOOL_P_R1
,
512
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_SECP384R1
)
{
24
,
MBEDTLS_ECP_DP_SECP384R1
,
PSA_ECC_FAMILY_SECP_R1
,
384
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_BP384R1
)
{
27
,
MBEDTLS_ECP_DP_BP384R1
,
PSA_ECC_FAMILY_BRAINPOOL_P_R1
,
384
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_SECP256R1
)
{
23
,
MBEDTLS_ECP_DP_SECP256R1
,
PSA_ECC_FAMILY_SECP_R1
,
256
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_SECP256K1
)
{
22
,
MBEDTLS_ECP_DP_SECP256K1
,
PSA_ECC_FAMILY_SECP_K1
,
256
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_BP256R1
)
{
26
,
MBEDTLS_ECP_DP_BP256R1
,
PSA_ECC_FAMILY_BRAINPOOL_P_R1
,
256
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_SECP224R1
)
{
21
,
MBEDTLS_ECP_DP_SECP224R1
,
PSA_ECC_FAMILY_SECP_R1
,
224
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_SECP224K1
)
{
20
,
MBEDTLS_ECP_DP_SECP224K1
,
PSA_ECC_FAMILY_SECP_K1
,
224
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_SECP192R1
)
{
19
,
MBEDTLS_ECP_DP_SECP192R1
,
PSA_ECC_FAMILY_SECP_R1
,
192
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_SECP192K1
)
{
18
,
MBEDTLS_ECP_DP_SECP192K1
,
PSA_ECC_FAMILY_SECP_K1
,
192
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_CURVE25519
)
{
29
,
MBEDTLS_ECP_DP_CURVE25519
,
PSA_ECC_FAMILY_MONTGOMERY
,
255
}
,
#endif
#if
defined
(
MBEDTLS_ECP_HAVE_CURVE448
)
{
30
,
MBEDTLS_ECP_DP_CURVE448
,
PSA_ECC_FAMILY_MONTGOMERY
,
448
}
,
#endif
{
0
,
MBEDTLS_ECP_DP_NONE
,
0
,
0
}
,
}
;
Examples
References
from
examples
Code
Location
Referrer
}
tls_id_match_table
[
]
=
ssl_tls.c:6257
for
(
int
i
=
0
;
tls_id_match_table
[
i
]
.
tls_id
!=
0
;
i
++
)
{
ssl_tls.c:6305
mbedtls_ssl_get_psa_curve_info_from_tls_id()
if
(
tls_id_match_table
[
i
]
.
tls_id
==
tls_id
)
{
ssl_tls.c:6306
mbedtls_ssl_get_psa_curve_info_from_tls_id()
*
type
=
PSA_KEY_TYPE_ECC_KEY_PAIR
(
tls_id_match_table
[
i
]
.
psa_family
)
;
ssl_tls.c:6308
mbedtls_ssl_get_psa_curve_info_from_tls_id()
*
bits
=
tls_id_match_table
[
i
]
.
bits
;
ssl_tls.c:6311
mbedtls_ssl_get_psa_curve_info_from_tls_id()
for
(
int
i
=
0
;
tls_id_match_table
[
i
]
.
tls_id
!=
0
;
i
++
)
{
ssl_tls.c:6322
mbedtls_ssl_get_ecp_group_id_from_tls_id()
if
(
tls_id_match_table
[
i
]
.
tls_id
==
tls_id
)
{
ssl_tls.c:6323
mbedtls_ssl_get_ecp_group_id_from_tls_id()
return
tls_id_match_table
[
i
]
.
ecp_group_id
;
ssl_tls.c:6324
mbedtls_ssl_get_ecp_group_id_from_tls_id()
for
(
int
i
=
0
;
tls_id_match_table
[
i
]
.
ecp_group_id
!=
MBEDTLS_ECP_DP_NONE
;
ssl_tls.c:6333
mbedtls_ssl_get_tls_id_from_ecp_group_id()
if
(
tls_id_match_table
[
i
]
.
ecp_group_id
==
grp_id
)
{
ssl_tls.c:6335
mbedtls_ssl_get_tls_id_from_ecp_group_id()
return
tls_id_match_table
[
i
]
.
tls_id
;
ssl_tls.c:6336
mbedtls_ssl_get_tls_id_from_ecp_group_id()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tls_id_match_table
is read by 3 functions:
All items filtered out
tls_id_match_table
mbedtls_ssl_get_psa_curve_info_from_tls_id()
mbedtls_ssl_get_ecp_group_id_from_tls_id()
mbedtls_ssl_get_tls_id_from_ecp_group_id()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out