Home
last modified time | relevance | path

Searched refs:mbedtls_ssl_context (Results 1 – 25 of 31) sorted by relevance

12

/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/
Dssl_internal.h278 static inline size_t mbedtls_ssl_get_output_buflen( const mbedtls_ssl_context *ctx ) in mbedtls_ssl_get_output_buflen()
290 static inline size_t mbedtls_ssl_get_input_buflen( const mbedtls_ssl_context *ctx ) in mbedtls_ssl_get_input_buflen()
481 void (*update_checksum)(mbedtls_ssl_context *, const unsigned char *, size_t);
482 void (*calc_verify)(const mbedtls_ssl_context *, unsigned char *, size_t *);
483 void (*calc_finished)(mbedtls_ssl_context *, unsigned char *, int);
935 void mbedtls_ssl_handshake_free( mbedtls_ssl_context *ssl );
937 int mbedtls_ssl_handshake_client_step( mbedtls_ssl_context *ssl );
938 int mbedtls_ssl_handshake_server_step( mbedtls_ssl_context *ssl );
939 void mbedtls_ssl_handshake_wrapup( mbedtls_ssl_context *ssl );
941 int mbedtls_ssl_send_fatal_handshake_failure( mbedtls_ssl_context *ssl );
[all …]
Dssl.h684 typedef struct mbedtls_ssl_context mbedtls_ssl_context; typedef
771 typedef int mbedtls_ssl_async_sign_t( mbedtls_ssl_context *ssl,
837 typedef int mbedtls_ssl_async_decrypt_t( mbedtls_ssl_context *ssl,
885 typedef int mbedtls_ssl_async_resume_t( mbedtls_ssl_context *ssl,
907 typedef void mbedtls_ssl_async_cancel_t( mbedtls_ssl_context *ssl );
1138 int (*f_sni)(void *, mbedtls_ssl_context *, const unsigned char *, size_t);
1150 int (*f_psk)(void *, mbedtls_ssl_context *, const unsigned char *, size_t);
1270 struct mbedtls_ssl_context struct
1485 mbedtls_ssl_context *ssl, argument
1493 mbedtls_ssl_context *ssl,
[all …]
Ddebug.h168 void mbedtls_debug_print_msg( const mbedtls_ssl_context *ssl, int level,
187 void mbedtls_debug_print_ret( const mbedtls_ssl_context *ssl, int level,
208 void mbedtls_debug_print_buf( const mbedtls_ssl_context *ssl, int level,
229 void mbedtls_debug_print_mpi( const mbedtls_ssl_context *ssl, int level,
251 void mbedtls_debug_print_ecp( const mbedtls_ssl_context *ssl, int level,
272 void mbedtls_debug_print_crt( const mbedtls_ssl_context *ssl, int level,
301 void mbedtls_debug_printf_ecdh( const mbedtls_ssl_context *ssl, int level,
/openthread-3.5.0/third_party/mbedtls/repo/library/
Ddebug.c59 static inline void debug_send_line( const mbedtls_ssl_context *ssl, int level, in debug_send_line()
78 void mbedtls_debug_print_msg( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_msg()
107 void mbedtls_debug_print_ret( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ret()
135 void mbedtls_debug_print_buf( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_buf()
195 void mbedtls_debug_print_ecp( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ecp()
218 void mbedtls_debug_print_mpi( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_mpi()
276 static void debug_print_pk( const mbedtls_ssl_context *ssl, int level, in debug_print_pk()
314 static void debug_print_line_by_line( const mbedtls_ssl_context *ssl, int level, in debug_print_line_by_line()
339 void mbedtls_debug_print_crt( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_crt()
373 static void mbedtls_debug_printf_ecdh_internal( const mbedtls_ssl_context *ssl, in mbedtls_debug_printf_ecdh_internal()
[all …]
Dssl_msg.c61 static uint32_t ssl_get_hs_total_len( mbedtls_ssl_context const *ssl );
67 void mbedtls_ssl_set_timer( mbedtls_ssl_context *ssl, uint32_t millisecs ) in mbedtls_ssl_set_timer()
79 int mbedtls_ssl_check_timer( mbedtls_ssl_context *ssl ) in mbedtls_ssl_check_timer()
94 static int ssl_parse_record_header( mbedtls_ssl_context const *ssl,
99 int mbedtls_ssl_check_record( mbedtls_ssl_context const *ssl, in mbedtls_ssl_check_record()
165 static void ssl_buffering_free_slot( mbedtls_ssl_context *ssl,
167 static void ssl_free_buffered_record( mbedtls_ssl_context *ssl );
168 static int ssl_load_buffered_message( mbedtls_ssl_context *ssl );
169 static int ssl_load_buffered_record( mbedtls_ssl_context *ssl );
170 static int ssl_buffer_message( mbedtls_ssl_context *ssl );
[all …]
Dssl_tls.c82 int mbedtls_ssl_set_cid( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_cid()
115 int mbedtls_ssl_get_peer_cid( mbedtls_ssl_context *ssl, in mbedtls_ssl_get_peer_cid()
269 static void handle_buffer_resizing( mbedtls_ssl_context *ssl, int downsizing, in handle_buffer_resizing()
795 static void ssl_update_checksum_start( mbedtls_ssl_context *, const unsigned char *, size_t );
799 static void ssl_update_checksum_md5sha1( mbedtls_ssl_context *, const unsigned char *, size_t );
803 static void ssl_calc_verify_ssl( const mbedtls_ssl_context *, unsigned char *, size_t * );
804 static void ssl_calc_finished_ssl( mbedtls_ssl_context *, unsigned char *, int );
808 static void ssl_calc_verify_tls( const mbedtls_ssl_context *, unsigned char*, size_t * );
809 static void ssl_calc_finished_tls( mbedtls_ssl_context *, unsigned char *, int );
814 static void ssl_update_checksum_sha256( mbedtls_ssl_context *, const unsigned char *, size_t );
[all …]
Dssl_cli.c94 static int ssl_write_hostname_ext( mbedtls_ssl_context *ssl, in ssl_write_hostname_ext()
164 static int ssl_write_renegotiation_ext( mbedtls_ssl_context *ssl, in ssl_write_renegotiation_ext()
207 static int ssl_write_signature_algorithms_ext( mbedtls_ssl_context *ssl, in ssl_write_signature_algorithms_ext()
305 static int ssl_write_supported_elliptic_curves_ext( mbedtls_ssl_context *ssl, in ssl_write_supported_elliptic_curves_ext()
376 static int ssl_write_supported_point_formats_ext( mbedtls_ssl_context *ssl, in ssl_write_supported_point_formats_ext()
407 static int ssl_write_ecjpake_kkpp_ext( mbedtls_ssl_context *ssl, in ssl_write_ecjpake_kkpp_ext()
480 static int ssl_write_cid_ext( mbedtls_ssl_context *ssl, in ssl_write_cid_ext()
526 static int ssl_write_max_fragment_length_ext( mbedtls_ssl_context *ssl, in ssl_write_max_fragment_length_ext()
558 static int ssl_write_truncated_hmac_ext( mbedtls_ssl_context *ssl, in ssl_write_truncated_hmac_ext()
588 static int ssl_write_encrypt_then_mac_ext( mbedtls_ssl_context *ssl, in ssl_write_encrypt_then_mac_ext()
[all …]
Dssl_srv.c51 int mbedtls_ssl_set_client_transport_id( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_client_transport_id()
81 static int ssl_parse_servername_ext( mbedtls_ssl_context *ssl, in ssl_parse_servername_ext()
170 static int ssl_use_opaque_psk( mbedtls_ssl_context const *ssl ) in ssl_use_opaque_psk()
191 static int ssl_parse_renegotiation_info( mbedtls_ssl_context *ssl, in ssl_parse_renegotiation_info()
242 static int ssl_parse_signature_algorithms_ext( mbedtls_ssl_context *ssl, in ssl_parse_signature_algorithms_ext()
320 static int ssl_parse_supported_elliptic_curves( mbedtls_ssl_context *ssl, in ssl_parse_supported_elliptic_curves()
386 static int ssl_parse_supported_point_formats( mbedtls_ssl_context *ssl, in ssl_parse_supported_point_formats()
428 static int ssl_parse_ecjpake_kkpp( mbedtls_ssl_context *ssl, in ssl_parse_ecjpake_kkpp()
457 static int ssl_parse_max_fragment_length_ext( mbedtls_ssl_context *ssl, in ssl_parse_max_fragment_length_ext()
476 static int ssl_parse_cid_ext( mbedtls_ssl_context *ssl, in ssl_parse_cid_ext()
[all …]
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_debug.function54 mbedtls_ssl_context ssl;
83 mbedtls_ssl_context ssl;
110 mbedtls_ssl_context ssl;
139 mbedtls_ssl_context ssl;
169 mbedtls_ssl_context ssl;
/openthread-3.5.0/third_party/mbedtls/repo/programs/ssl/
Dssl_mail_client.c175 static int do_handshake( mbedtls_ssl_context *ssl ) in do_handshake()
230 static int write_ssl_data( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) in write_ssl_data()
247 static int write_ssl_and_get_response( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) in write_ssl_and_get_response()
375 mbedtls_ssl_context ssl; in main()
Dssl_test_lib.h133 mbedtls_ssl_context *ssl;
Dmini_client.c179 mbedtls_ssl_context ssl; in main()
Dssl_client1.c94 mbedtls_ssl_context ssl; in main()
Ddtls_client.c106 mbedtls_ssl_context ssl; in main()
Dssl_server2.c794 int sni_callback( void *p_info, mbedtls_ssl_context *ssl, in sni_callback()
911 int psk_callback( void *p_info, mbedtls_ssl_context *ssl, in psk_callback()
1035 static int ssl_async_start( mbedtls_ssl_context *ssl, in ssl_async_start()
1100 static int ssl_async_sign( mbedtls_ssl_context *ssl, in ssl_async_sign()
1111 static int ssl_async_decrypt( mbedtls_ssl_context *ssl, in ssl_async_decrypt()
1121 static int ssl_async_resume( mbedtls_ssl_context *ssl, in ssl_async_resume()
1180 static void ssl_async_cancel( mbedtls_ssl_context *ssl ) in ssl_async_cancel()
1214 int report_cid_usage( mbedtls_ssl_context *ssl, in report_cid_usage()
1290 mbedtls_ssl_context ssl; in main()
Dssl_server.c104 mbedtls_ssl_context ssl; in main()
Dssl_test_common_source.c163 int ssl_check_record( mbedtls_ssl_context const *ssl, in ssl_check_record()
Ddtls_server.c116 mbedtls_ssl_context ssl; in main()
Dssl_fork_server.c109 mbedtls_ssl_context ssl; in main()
/openthread-3.5.0/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_dtlsclient.c36 mbedtls_ssl_context ssl; in LLVMFuzzerTestOneInput()
Dfuzz_client.c39 mbedtls_ssl_context ssl; in LLVMFuzzerTestOneInput()
Dfuzz_dtlsserver.c36 mbedtls_ssl_context ssl; in LLVMFuzzerTestOneInput()
Dfuzz_server.c39 mbedtls_ssl_context ssl; in LLVMFuzzerTestOneInput()
/openthread-3.5.0/src/cli/
Dcli_tcp.hpp163 mbedtls_ssl_context mSslContext;
/openthread-3.5.0/src/core/meshcop/
Ddtls.hpp484 mbedtls_ssl_context mSsl;

12