Lines Matching refs:ciphersuite_info

688                          const mbedtls_ssl_ciphersuite_t *ciphersuite_info)  in ssl_pick_cert()  argument
693 mbedtls_ssl_get_ciphersuite_sig_pk_psa_alg(ciphersuite_info); in ssl_pick_cert()
695 mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage(ciphersuite_info); in ssl_pick_cert()
698 mbedtls_ssl_get_ciphersuite_sig_pk_alg(ciphersuite_info); in ssl_pick_cert()
758 if (mbedtls_ssl_check_cert_usage(cur->cert, ciphersuite_info, in ssl_pick_cert()
798 const mbedtls_ssl_ciphersuite_t **ciphersuite_info) in ssl_ciphersuite_match() argument
881 *ciphersuite_info = suite_info; in ssl_ciphersuite_match()
904 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in ssl_parse_client_hello() local
1578 ciphersuite_info = NULL; in ssl_parse_client_hello()
1590 &ciphersuite_info)) != 0) { in ssl_parse_client_hello()
1594 if (ciphersuite_info != NULL) { in ssl_parse_client_hello()
1609 &ciphersuite_info)) != 0) { in ssl_parse_client_hello()
1613 if (ciphersuite_info != NULL) { in ssl_parse_client_hello()
1634 MBEDTLS_SSL_DEBUG_MSG(2, ("selected ciphersuite: %s", ciphersuite_info->name)); in ssl_parse_client_hello()
1637 ssl->handshake->ciphersuite_info = ciphersuite_info; in ssl_parse_client_hello()
1650 mbedtls_pk_type_t sig_alg = mbedtls_ssl_get_ciphersuite_sig_alg(ciphersuite_info); in ssl_parse_client_hello()
1915 if (ssl->handshake->ciphersuite_info->key_exchange != in ssl_write_ecjpake_kkpp_ext()
2378 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_write_certificate_request() local
2379 ssl->handshake->ciphersuite_info; in ssl_write_certificate_request()
2383 if (!mbedtls_ssl_ciphersuite_cert_req_allowed(ciphersuite_info)) { in ssl_write_certificate_request()
2397 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_write_certificate_request() local
2398 ssl->handshake->ciphersuite_info; in ssl_write_certificate_request()
2417 if (!mbedtls_ssl_ciphersuite_cert_req_allowed(ciphersuite_info) || in ssl_write_certificate_request()
2777 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_prepare_server_key_exchange() local
2778 ssl->handshake->ciphersuite_info; in ssl_prepare_server_key_exchange()
2786 (void) ciphersuite_info; /* unused in some configurations */ in ssl_prepare_server_key_exchange()
2811 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE) { in ssl_prepare_server_key_exchange()
2875 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_PSK || in ssl_prepare_server_key_exchange()
2876 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_PSK) { in ssl_prepare_server_key_exchange()
2887 if (mbedtls_ssl_ciphersuite_uses_dhe(ciphersuite_info)) { in ssl_prepare_server_key_exchange()
2938 if (mbedtls_ssl_ciphersuite_uses_ecdhe(ciphersuite_info)) { in ssl_prepare_server_key_exchange()
3094 if (mbedtls_ssl_ciphersuite_uses_server_signature(ciphersuite_info)) { in ssl_prepare_server_key_exchange()
3113 mbedtls_ssl_get_ciphersuite_sig_pk_alg(ciphersuite_info); in ssl_prepare_server_key_exchange()
3230 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_write_server_key_exchange() local
3231 ssl->handshake->ciphersuite_info; in ssl_write_server_key_exchange()
3239 if (mbedtls_ssl_ciphersuite_no_pfs(ciphersuite_info)) { in ssl_write_server_key_exchange()
3243 if (mbedtls_ssl_ciphersuite_uses_ecdh(ciphersuite_info)) { in ssl_write_server_key_exchange()
3645 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in ssl_parse_client_key_exchange() local
3648 ciphersuite_info = ssl->handshake->ciphersuite_info; in ssl_parse_client_key_exchange()
3655 if ((ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK || in ssl_parse_client_key_exchange()
3656 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA) && in ssl_parse_client_key_exchange()
3683 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_RSA) { in ssl_parse_client_key_exchange()
3710 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_RSA || in ssl_parse_client_key_exchange()
3711 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA || in ssl_parse_client_key_exchange()
3712 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDH_RSA || in ssl_parse_client_key_exchange()
3713 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA) { in ssl_parse_client_key_exchange()
3803 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_PSK) { in ssl_parse_client_key_exchange()
3816 (mbedtls_key_exchange_type_t) ciphersuite_info-> in ssl_parse_client_key_exchange()
3825 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK) { in ssl_parse_client_key_exchange()
3849 (mbedtls_key_exchange_type_t) ciphersuite_info-> in ssl_parse_client_key_exchange()
3858 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_PSK) { in ssl_parse_client_key_exchange()
3891 (mbedtls_key_exchange_type_t) ciphersuite_info-> in ssl_parse_client_key_exchange()
3900 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_PSK) { in ssl_parse_client_key_exchange()
3999 (mbedtls_key_exchange_type_t) ciphersuite_info-> in ssl_parse_client_key_exchange()
4008 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA) { in ssl_parse_client_key_exchange()
4016 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE) { in ssl_parse_client_key_exchange()
4066 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_certificate_verify() local
4067 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_verify()
4071 if (!mbedtls_ssl_ciphersuite_cert_req_allowed(ciphersuite_info)) { in ssl_parse_certificate_verify()
4091 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_certificate_verify() local
4092 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_verify()
4097 if (!mbedtls_ssl_ciphersuite_cert_req_allowed(ciphersuite_info)) { in ssl_parse_certificate_verify()