Lines Matching refs:cipher_suite
46 unsigned int cipher_suite ) in ssl_tls13_validate_peer_ciphersuite() argument
49 if( ! mbedtls_ssl_tls13_cipher_suite_is_offered( ssl, cipher_suite ) ) in ssl_tls13_validate_peer_ciphersuite()
52 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( cipher_suite ); in ssl_tls13_validate_peer_ciphersuite()
386 uint16_t cipher_suite; in ssl_tls13_select_ciphersuite_for_psk() local
389 cipher_suite = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_select_ciphersuite_for_psk()
391 cipher_suite ); in ssl_tls13_select_ciphersuite_for_psk()
400 *selected_ciphersuite = cipher_suite; in ssl_tls13_select_ciphersuite_for_psk()
424 uint16_t cipher_suite = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_select_ciphersuite_for_resumption() local
427 if( cipher_suite != session->ciphersuite ) in ssl_tls13_select_ciphersuite_for_resumption()
431 cipher_suite ); in ssl_tls13_select_ciphersuite_for_resumption()
435 *selected_ciphersuite = cipher_suite; in ssl_tls13_select_ciphersuite_for_resumption()
533 uint16_t cipher_suite; in ssl_tls13_parse_pre_shared_key_ext() local
569 &cipher_suite, &ciphersuite_info ); in ssl_tls13_parse_pre_shared_key_ext()
575 &cipher_suite, &ciphersuite_info ); in ssl_tls13_parse_pre_shared_key_ext()
620 ssl->session_negotiate->ciphersuite = cipher_suite; in ssl_tls13_parse_pre_shared_key_ext()
622 cipher_suite, ciphersuite_info->name ) ); in ssl_tls13_parse_pre_shared_key_ext()
1377 uint16_t cipher_suite; in ssl_tls13_parse_client_hello() local
1382 cipher_suite = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_parse_client_hello()
1384 ssl,cipher_suite ); in ssl_tls13_parse_client_hello()
1388 ssl->session_negotiate->ciphersuite = cipher_suite; in ssl_tls13_parse_client_hello()
1391 cipher_suite, in ssl_tls13_parse_client_hello()