mbedTLS
mbedtls_ssl_context::conf
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
mbedTLS
mbedtls_ssl_context::conf
mbedtls_ssl_context::conf field
configuration information
Syntax
Show:
Summary
Declaration
from
ssl.h:1024
const
mbedtls_ssl_config
*
conf
;
Examples
References
from
examples
Code
Location
Referrer
const
mbedtls_ssl_config
*
conf
;
/*!< configuration information */
ssl.h:1024
if
(
ssl
->
conf
->
max_minor_ver
!=
MBEDTLS_SSL_MINOR_VERSION_3
)
ssl_cli.c:183
ssl_write_signature_algorithms_ext()
for
(
md
=
ssl
->
conf
->
sig_hashes
;
*
md
!=
MBEDTLS_MD_NONE
;
md
++
)
ssl_cli.c:188
ssl_write_signature_algorithms_ext()
for
(
md
=
ssl
->
conf
->
sig_hashes
;
*
md
!=
MBEDTLS_MD_NONE
;
md
++
)
ssl_cli.c:209
ssl_write_signature_algorithms_ext()
for
(
grp_id
=
ssl
->
conf
->
curve_list
;
*
grp_id
!=
MBEDTLS_ECP_DP_NONE
;
grp_id
++
)
ssl_cli.c:274
ssl_write_supported_elliptic_curves_ext()
for
(
grp_id
=
ssl
->
conf
->
curve_list
;
*
grp_id
!=
MBEDTLS_ECP_DP_NONE
;
grp_id
++
)
ssl_cli.c:300
ssl_write_supported_elliptic_curves_ext()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
p
,
4
)
)
!=
0
)
ssl_cli.c:705
ssl_generate_random()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
p
,
28
)
)
!=
0
)
ssl_cli.c:711
ssl_generate_random()
if
(
ssl
->
conf
->
f_rng
==
NULL
)
ssl_cli.c:776
ssl_write_client_hello()
ssl
->
major_ver
=
ssl
->
conf
->
min_major_ver
;
ssl_cli.c:786
ssl_write_client_hello()
ssl
->
minor_ver
=
ssl
->
conf
->
min_minor_ver
;
ssl_cli.c:787
ssl_write_client_hello()
if
(
ssl
->
conf
->
max_major_ver
==
0
)
ssl_cli.c:790
ssl_write_client_hello()
mbedtls_ssl_write_version
(
ssl
->
conf
->
max_major_ver
,
ssl
->
conf
->
max_minor_ver
,
ssl_cli.c:807
ssl_write_client_hello()
ssl
->
conf
->
transport
,
p
)
;
ssl_cli.c:808
ssl_write_client_hello()
ciphersuites
=
ssl
->
conf
->
ciphersuite_list
[
ssl
->
minor_ver
]
;
ssl_cli.c:905
ssl_write_client_hello()
ssl
->
conf
->
min_minor_ver
,
ssl_cli.c:917
ssl_write_client_hello()
ssl
->
conf
->
max_minor_ver
)
!=
0
)
ssl_cli.c:918
ssl_write_client_hello()
ssl
->
conf
->
transport
,
buf
+
0
)
;
ssl_cli.c:1581
ssl_parse_server_hello()
if
(
ssl
->
major_ver
<
ssl
->
conf
->
min_major_ver
||
ssl_cli.c:1583
ssl_parse_server_hello()
ssl
->
minor_ver
<
ssl
->
conf
->
min_minor_ver
||
ssl_cli.c:1584
ssl_parse_server_hello()
ssl
->
major_ver
>
ssl
->
conf
->
max_major_ver
||
ssl_cli.c:1585
ssl_parse_server_hello()
ssl
->
minor_ver
>
ssl
->
conf
->
max_minor_ver
)
ssl_cli.c:1586
ssl_parse_server_hello()
if
(
ssl
->
conf
->
ciphersuite_list
[
ssl
->
minor_ver
]
[
i
]
==
0
)
ssl_cli.c:1740
ssl_parse_server_hello()
if
(
ssl
->
conf
->
ciphersuite_list
[
ssl
->
minor_ver
]
[
i
++
]
==
ssl_cli.c:1748
ssl_parse_server_hello()
ssl
->
conf
->
allow_legacy_renegotiation
==
MBEDTLS_SSL_LEGACY_BREAK_HANDSHAKE
)
ssl_cli.c:1942
ssl_parse_server_hello()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_cli.c:2966
ssl_write_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
ssl_cli.c:2995
ssl_write_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
,
rs_ctx
)
)
!=
0
)
ssl_cli.c:3358
ssl_write_certificate_verify()
key_cert
=
ssl
->
conf
->
key_cert
;
ssl_internal.h:669
mbedtls_ssl_own_key()
key_cert
=
ssl
->
conf
->
key_cert
;
ssl_internal.h:681
mbedtls_ssl_own_cert()
list
=
ssl
->
conf
->
key_cert
;
ssl_srv.c:713
ssl_pick_cert()
mbedtls_ssl_read_version
(
&
major
,
&
minor
,
ssl
->
conf
->
transport
,
buf
+
1
)
;
ssl_srv.c:1269
ssl_parse_client_hello()
ssl
->
conf
->
transport
,
buf
)
;
ssl_srv.c:1468
ssl_parse_client_hello()
if
(
ssl
->
major_ver
<
ssl
->
conf
->
min_major_ver
||
ssl_srv.c:1473
ssl_parse_client_hello()
ssl
->
minor_ver
<
ssl
->
conf
->
min_minor_ver
)
ssl_srv.c:1474
ssl_parse_client_hello()
if
(
ssl
->
major_ver
>
ssl
->
conf
->
max_major_ver
)
ssl_srv.c:1485
ssl_parse_client_hello()
ssl
->
major_ver
=
ssl
->
conf
->
max_major_ver
;
ssl_srv.c:1487
ssl_parse_client_hello()
ssl
->
minor_ver
=
ssl
->
conf
->
max_minor_ver
;
ssl_srv.c:1488
ssl_parse_client_hello()
else
if
(
ssl
->
minor_ver
>
ssl
->
conf
->
max_minor_ver
)
ssl_srv.c:1490
ssl_parse_client_hello()
ssl
->
minor_ver
=
ssl
->
conf
->
max_minor_ver
;
ssl_srv.c:1491
ssl_parse_client_hello()
ssl
->
conf
->
allow_legacy_renegotiation
==
MBEDTLS_SSL_LEGACY_BREAK_HANDSHAKE
)
ssl_srv.c:1916
ssl_parse_client_hello()
ciphersuites
=
ssl
->
conf
->
ciphersuite_list
[
ssl
->
minor_ver
]
;
ssl_srv.c:1958
ssl_parse_client_hello()
if
(
ssl
->
conf
->
f_rng
==
NULL
)
ssl_srv.c:2430
ssl_write_server_hello()
ssl
->
conf
->
transport
,
p
)
;
ssl_srv.c:2447
ssl_write_server_hello()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
p
,
4
)
)
!=
0
)
ssl_srv.c:2462
ssl_write_server_hello()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
p
,
28
)
)
!=
0
)
ssl_srv.c:2468
ssl_write_server_hello()
ssl
->
conf
->
f_get_cache
!=
NULL
&&
ssl_srv.c:2487
ssl_write_server_hello()
ssl
->
conf
->
f_get_cache
(
ssl
->
conf
->
p_cache
,
ssl
->
session_negotiate
)
==
0
)
ssl_srv.c:2488
ssl_write_server_hello()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
ssl
->
session_negotiate
->
id
,
ssl_srv.c:2516
ssl_write_server_hello()
authmode
=
ssl
->
conf
->
authmode
;
ssl_srv.c:2692
ssl_write_certificate_request()
for
(
cur
=
ssl
->
conf
->
sig_hashes
;
*
cur
!=
MBEDTLS_MD_NONE
;
cur
++
)
ssl_srv.c:2760
ssl_write_certificate_request()
if
(
ssl
->
conf
->
cert_req_ca_list
==
MBEDTLS_SSL_CERT_REQ_CA_LIST_ENABLED
)
ssl_srv.c:2792
ssl_write_certificate_request()
crt
=
ssl
->
conf
->
ca_chain
;
ssl_srv.c:2799
ssl_write_certificate_request()
for
(
gid
=
ssl
->
conf
->
curve_list
;
*
gid
!=
MBEDTLS_ECP_DP_NONE
;
gid
++
)
ssl_srv.c:3037
ssl_prepare_server_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
ssl_srv.c:3062
ssl_prepare_server_key_exchange()
ssl
->
conf
->
f_rng
,
ssl_srv.c:3246
ssl_prepare_server_key_exchange()
ssl
->
conf
->
p_rng
)
)
!=
0
)
ssl_srv.c:3247
ssl_prepare_server_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
ssl_srv.c:3805
ssl_parse_client_key_exchange()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_CLIENT
)
ssl_tls.c:928
mbedtls_ssl_derive_keys()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_SERVER
)
ssl_tls.c:948
mbedtls_ssl_derive_keys()
ssl
->
conf
->
transport
,
add_data
+
9
)
;
ssl_tls.c:1571
ssl_encrypt_buf()
ssl
->
conf
->
transport
,
add_data
+
9
)
;
ssl_tls.c:1878
ssl_decrypt_buf()
ssl
->
conf
->
read_timeout
)
;
ssl_tls.c:2712
mbedtls_ssl_fetch_input()
ssl
->
conf
->
transport
,
ssl
->
out_hdr
+
1
)
;
ssl_tls.c:3383
mbedtls_ssl_write_record()
mbedtls_ssl_read_version
(
&
major_ver
,
&
minor_ver
,
ssl
->
conf
->
transport
,
ssl
->
in_hdr
+
1
)
;
ssl_tls.c:4052
ssl_parse_record_header()
if
(
minor_ver
>
ssl
->
conf
->
max_minor_ver
)
ssl_tls.c:4085
ssl_parse_record_header()
if
(
ssl
==
NULL
||
ssl
->
conf
==
NULL
)
ssl_tls.c:5248
mbedtls_ssl_send_alert_message()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_CLIENT
)
ssl_tls.c:5343
mbedtls_ssl_write_certificate()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_SERVER
)
ssl_tls.c:5372
mbedtls_ssl_write_certificate()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_SERVER
&&
ssl_tls.c:5475
ssl_parse_certificate_chain()
const
int
authmode
=
ssl
->
conf
->
authmode
;
ssl_tls.c:5652
mbedtls_ssl_parse_certificate()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_SERVER
&&
ssl_tls.c:5669
mbedtls_ssl_parse_certificate()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_SERVER
&&
ssl_tls.c:5677
mbedtls_ssl_parse_certificate()
ca_chain
=
ssl
->
conf
->
ca_chain
;
ssl_tls.c:5741
mbedtls_ssl_parse_certificate()
ca_crl
=
ssl
->
conf
->
ca_crl
;
ssl_tls.c:5742
mbedtls_ssl_parse_certificate()
ssl
->
conf
->
cert_profile
,
ssl_tls.c:5751
mbedtls_ssl_parse_certificate()
ssl
->
conf
->
f_vrfy
,
ssl
->
conf
->
p_vrfy
,
rs_ctx
)
;
ssl_tls.c:5754
mbedtls_ssl_parse_certificate()
!
ssl
->
conf
->
endpoint
,
ssl_tls.c:5789
mbedtls_ssl_parse_certificate()
if
(
ssl
->
conf
->
f_set_cache
!=
NULL
&&
ssl_tls.c:6367
mbedtls_ssl_handshake_wrapup()
if
(
ssl
->
conf
->
f_set_cache
(
ssl
->
conf
->
p_cache
,
ssl
->
session
)
!=
0
)
ssl_tls.c:6371
mbedtls_ssl_handshake_wrapup()
ssl
->
handshake
->
calc_finished
(
ssl
,
ssl
->
out_msg
+
4
,
ssl
->
conf
->
endpoint
)
;
ssl_tls.c:6403
mbedtls_ssl_write_finished()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_CLIENT
)
ssl_tls.c:6429
mbedtls_ssl_write_finished()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_SERVER
)
ssl_tls.c:6433
mbedtls_ssl_write_finished()
ssl
->
handshake
->
calc_finished
(
ssl
,
buf
,
ssl
->
conf
->
endpoint
^
1
)
;
ssl_tls.c:6527
mbedtls_ssl_parse_finished()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_CLIENT
)
ssl_tls.c:6577
mbedtls_ssl_parse_finished()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_SERVER
)
ssl_tls.c:6581
mbedtls_ssl_parse_finished()
ssl
->
conf
=
conf
;
ssl_tls.c:6874
mbedtls_ssl_setup()
ssl
->
conf
=
NULL
;
ssl_tls.c:6910
mbedtls_ssl_setup()
ssl
->
conf
->
endpoint
!=
MBEDTLS_SSL_IS_CLIENT
)
ssl_tls.c:7192
mbedtls_ssl_set_session()
ssl
->
conf
->
endpoint
!=
MBEDTLS_SSL_IS_CLIENT
)
ssl_tls.c:8044
mbedtls_ssl_get_session()
if
(
ssl
==
NULL
||
ssl
->
conf
==
NULL
)
ssl_tls.c:8060
mbedtls_ssl_handshake_step()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_CLIENT
)
ssl_tls.c:8064
mbedtls_ssl_handshake_step()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_SERVER
)
ssl_tls.c:8068
mbedtls_ssl_handshake_step()
if
(
ssl
==
NULL
||
ssl
->
conf
==
NULL
)
ssl_tls.c:8082
mbedtls_ssl_handshake()
if
(
ssl
==
NULL
||
ssl
->
conf
==
NULL
)
ssl_tls.c:8268
mbedtls_ssl_read()
ssl_set_timer
(
ssl
,
ssl
->
conf
->
read_timeout
)
;
ssl_tls.c:8328
mbedtls_ssl_read()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_CLIENT
&&
ssl_tls.c:8367
mbedtls_ssl_read()
if
(
ssl
->
conf
->
endpoint
==
MBEDTLS_SSL_IS_SERVER
&&
ssl_tls.c:8385
mbedtls_ssl_read()
if
(
ssl
==
NULL
||
ssl
->
conf
==
NULL
)
ssl_tls.c:8685
mbedtls_ssl_write()
if
(
ssl
==
NULL
||
ssl
->
conf
==
NULL
)
ssl_tls.c:8723
mbedtls_ssl_close_notify()
if
(
ssl
->
conf
->
curve_list
==
NULL
)
ssl_tls.c:9425
mbedtls_ssl_check_curve()
for
(
gid
=
ssl
->
conf
->
curve_list
;
*
gid
!=
MBEDTLS_ECP_DP_NONE
;
gid
++
)
ssl_tls.c:9428
mbedtls_ssl_check_curve()
if
(
ssl
->
conf
->
sig_hashes
==
NULL
)
ssl_tls.c:9446
mbedtls_ssl_check_sig_hash()
for
(
cur
=
ssl
->
conf
->
sig_hashes
;
*
cur
!=
MBEDTLS_MD_NONE
;
cur
++
)
ssl_tls.c:9449
mbedtls_ssl_check_sig_hash()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_ssl_context::conf
is written by 1 function and is read by 37 functions:
mbedtls_ssl_setup()
All items filtered out
mbedtls_ssl_context::conf
ssl_write_signature_algorithms_ext()
ssl_write_supported_elliptic_curves_ext()
ssl_generate_random()
ssl_write_client_hello()
ssl_parse_server_hello()
ssl_write_client_key_exchange()
ssl_write_certificate_verify()
mbedtls_ssl_own_key()
mbedtls_ssl_own_cert()
ssl_pick_cert()
ssl_parse_client_hello()
ssl_write_server_hello()
ssl_write_certificate_request()
ssl_prepare_server_key_exchange()
ssl_parse_client_key_exchange()
mbedtls_ssl_derive_keys()
ssl_encrypt_buf()
ssl_decrypt_buf()
mbedtls_ssl_fetch_input()
mbedtls_ssl_write_record()
ssl_parse_record_header()
mbedtls_ssl_send_alert_message()
mbedtls_ssl_write_certificate()
ssl_parse_certificate_chain()
mbedtls_ssl_parse_certificate()
mbedtls_ssl_handshake_wrapup()
mbedtls_ssl_write_finished()
mbedtls_ssl_parse_finished()
mbedtls_ssl_set_session()
mbedtls_ssl_get_session()
mbedtls_ssl_handshake_step()
mbedtls_ssl_handshake()
mbedtls_ssl_read()
mbedtls_ssl_write()
mbedtls_ssl_close_notify()
mbedtls_ssl_check_curve()
mbedtls_ssl_check_sig_hash()
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