Home
last modified time | relevance | path

Searched refs:ciphersuite_info (Results 1 – 11 of 11) sorted by relevance

/mbedtls-development/library/
A Dssl_cli.c925 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in ssl_write_client_hello() local
2095 if( ssl->handshake->ciphersuite_info == NULL ) in ssl_parse_server_hello()
2873 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_server_key_exchange() local
2874 ssl->handshake->ciphersuite_info; in ssl_parse_server_key_exchange()
3247 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_certificate_request() local
3248 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_request()
3270 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_request()
3480 ssl->handshake->ciphersuite_info; in ssl_write_client_key_exchange()
3867 ((void) ciphersuite_info); in ssl_write_client_key_exchange()
3893 ssl->handshake->ciphersuite_info; in ssl_write_certificate_verify()
[all …]
A Dssl_srv.c1111 *ciphersuite_info = suite_info; in ssl_ciphersuite_match()
1845 ciphersuite_info = NULL; in ssl_parse_client_hello()
1861 if( ciphersuite_info != NULL ) in ssl_parse_client_hello()
1877 if( ciphersuite_info != NULL ) in ssl_parse_client_hello()
1902 ssl->handshake->ciphersuite_info = ciphersuite_info; in ssl_parse_client_hello()
2660 ssl->handshake->ciphersuite_info; in ssl_write_certificate_request()
2679 ssl->handshake->ciphersuite_info; in ssl_write_certificate_request()
2900 ssl->handshake->ciphersuite_info; in ssl_prepare_server_key_exchange()
3690 ciphersuite_info = ssl->handshake->ciphersuite_info; in ssl_parse_client_key_exchange()
3993 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_verify()
[all …]
A Dssl_tls13_keys.c571 mbedtls_md_type_t const md_type = handshake->ciphersuite_info->mac; in mbedtls_ssl_tls13_key_schedule_stage_application()
792 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in mbedtls_ssl_tls13_populate_transform() local
803 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( ciphersuite ); in mbedtls_ssl_tls13_populate_transform()
804 if( ciphersuite_info == NULL ) in mbedtls_ssl_tls13_populate_transform()
815 ciphersuite_info->cipher ) ); in mbedtls_ssl_tls13_populate_transform()
911 if( handshake->ciphersuite_info == NULL ) in mbedtls_ssl_tls1_3_key_schedule_stage_early()
917 md_type = handshake->ciphersuite_info->mac; in mbedtls_ssl_tls1_3_key_schedule_stage_early()
948 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = handshake->ciphersuite_info; in mbedtls_ssl_tls13_generate_handshake_keys() local
957 md_type = ciphersuite_info->mac; in mbedtls_ssl_tls13_generate_handshake_keys()
1049 mbedtls_md_type_t const md_type = handshake->ciphersuite_info->mac; in mbedtls_ssl_tls13_key_schedule_stage_handshake()
[all …]
A Dssl_tls13_client.c631 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in ssl_tls13_write_client_hello_cipher_suites() local
633 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( cipher_suite ); in ssl_tls13_write_client_hello_cipher_suites()
634 if( ciphersuite_info == NULL ) in ssl_tls13_write_client_hello_cipher_suites()
636 if( !( MBEDTLS_SSL_MINOR_VERSION_4 >= ciphersuite_info->min_minor_ver && in ssl_tls13_write_client_hello_cipher_suites()
642 ciphersuite_info->name ) ); in ssl_tls13_write_client_hello_cipher_suites()
1045 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in ssl_tls13_parse_server_hello() local
1116 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( cipher_suite ); in ssl_tls13_parse_server_hello()
1117 if( ciphersuite_info == NULL || in ssl_tls13_parse_server_hello()
1130 mbedtls_ssl_optimize_checksum( ssl, ciphersuite_info ); in ssl_tls13_parse_server_hello()
1132 ssl->handshake->ciphersuite_info = ciphersuite_info; in ssl_tls13_parse_server_hello()
[all …]
A Dssl_tls.c692 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in ssl_tls12_populate_transform() local
731 if( ciphersuite_info == NULL ) in ssl_tls12_populate_transform()
1265 ssl->handshake->ciphersuite_info; in mbedtls_ssl_derive_keys()
1617 ssl->handshake->ciphersuite_info; in mbedtls_ssl_write_certificate()
1635 ssl->handshake->ciphersuite_info; in mbedtls_ssl_parse_certificate()
1659 ssl->handshake->ciphersuite_info; in mbedtls_ssl_write_certificate()
1986 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_coordinate()
2018 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_verify()
2403 ((void) ciphersuite_info); in mbedtls_ssl_optimize_checksum()
2407 if( ciphersuite_info->mac == MBEDTLS_MD_SHA384 ) in mbedtls_ssl_optimize_checksum()
[all …]
A Dssl_tls13_generic.c474 ssl->handshake->ciphersuite_info->mac, in mbedtls_ssl_tls13_process_certificate_verify()
752 ssl->handshake->ciphersuite_info, in ssl_tls13_validate_certificate()
A Dssl_misc.h744 mbedtls_ssl_ciphersuite_t const *ciphersuite_info; member
1199 const mbedtls_ssl_ciphersuite_t *ciphersuite_info );
/mbedtls-development/programs/ssl/
A Dssl_context_info.c580 const struct mbedtls_ssl_ciphersuite_t * ciphersuite_info; in print_deserialized_ssl_session() local
610 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( ciphersuite_id ); in print_deserialized_ssl_session()
611 if( ciphersuite_info == NULL ) in print_deserialized_ssl_session()
620 printf( "\tciphersuite : %s\n", ciphersuite_info->name ); in print_deserialized_ssl_session()
621 printf( "\tcipher flags : 0x%02X\n", ciphersuite_info->flags ); in print_deserialized_ssl_session()
623 cipher_info = mbedtls_cipher_info_from_type( ciphersuite_info->cipher ); in print_deserialized_ssl_session()
633 md_info = mbedtls_md_info_from_type( ciphersuite_info->mac ); in print_deserialized_ssl_session()
A Dssl_client2.c1364 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in main() local
1365 ciphersuite_info = in main()
1369 ciphersuite_info->min_minor_ver > opt.max_version ) in main()
1376 ciphersuite_info->max_minor_ver < opt.min_version ) in main()
1386 opt.max_version > ciphersuite_info->max_minor_ver ) in main()
1388 opt.max_version = ciphersuite_info->max_minor_ver; in main()
1390 if( opt.min_version < ciphersuite_info->min_minor_ver ) in main()
1392 opt.min_version = ciphersuite_info->min_minor_ver; in main()
1405 if( ciphersuite_info->key_exchange != MBEDTLS_KEY_EXCHANGE_PSK || in main()
1415 if( ciphersuite_info->mac == MBEDTLS_MD_SHA384 ) in main()
A Dssl_server2.c2091 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in main() local
2092 ciphersuite_info = in main()
2096 ciphersuite_info->min_minor_ver > opt.max_version ) in main()
2103 ciphersuite_info->max_minor_ver < opt.min_version ) in main()
2113 opt.max_version > ciphersuite_info->max_minor_ver ) in main()
2115 opt.max_version = ciphersuite_info->max_minor_ver; in main()
2117 if( opt.min_version < ciphersuite_info->min_minor_ver ) in main()
2119 opt.min_version = ciphersuite_info->min_minor_ver; in main()
2128 if( ciphersuite_info->key_exchange != MBEDTLS_KEY_EXCHANGE_PSK || in main()
2138 if( ciphersuite_info->mac == MBEDTLS_MD_SHA384 ) in main()
/mbedtls-development/tests/suites/
A Dtest_suite_ssl.function1146 const mbedtls_ssl_ciphersuite_t *ciphersuite_info;
1150 ciphersuite_info =
1153 TEST_ASSERT( ciphersuite_info != NULL );
1154 TEST_ASSERT( ciphersuite_info->min_minor_ver <= conf->max_minor_ver );
1155 TEST_ASSERT( ciphersuite_info->max_minor_ver >= conf->min_minor_ver );
1157 if( conf->max_minor_ver > ciphersuite_info->max_minor_ver )
1159 conf->max_minor_ver = ciphersuite_info->max_minor_ver;
1161 if( conf->min_minor_ver < ciphersuite_info->min_minor_ver )
1163 conf->min_minor_ver = ciphersuite_info->min_minor_ver;

Completed in 52 milliseconds