Lines Matching refs:ciphersuite_info

896     if( ssl->handshake->ciphersuite_info->key_exchange !=  in ssl_parse_ecjpake_kkpp()
1403 ssl->handshake->ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( i ); in ssl_parse_server_hello()
1404 if( ssl->handshake->ciphersuite_info == NULL ) in ssl_parse_server_hello()
1413 mbedtls_ssl_optimize_checksum( ssl, ssl->handshake->ciphersuite_info ); in ssl_parse_server_hello()
2166 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_server_key_exchange() local
2167 ssl->handshake->ciphersuite_info; in ssl_parse_server_key_exchange()
2173 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA ) in ssl_parse_server_key_exchange()
2185 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDH_RSA || in ssl_parse_server_key_exchange()
2186 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA ) in ssl_parse_server_key_exchange()
2237 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_PSK || in ssl_parse_server_key_exchange()
2238 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK ) in ssl_parse_server_key_exchange()
2267 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_PSK || in ssl_parse_server_key_exchange()
2268 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK || in ssl_parse_server_key_exchange()
2269 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_PSK || in ssl_parse_server_key_exchange()
2270 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_PSK ) in ssl_parse_server_key_exchange()
2286 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_PSK || in ssl_parse_server_key_exchange()
2287 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK ) in ssl_parse_server_key_exchange()
2294 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_RSA || in ssl_parse_server_key_exchange()
2295 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_PSK ) in ssl_parse_server_key_exchange()
2313 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_RSA || in ssl_parse_server_key_exchange()
2314 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_PSK || in ssl_parse_server_key_exchange()
2315 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA ) in ssl_parse_server_key_exchange()
2332 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE ) in ssl_parse_server_key_exchange()
2396 if( mbedtls_ssl_ciphersuite_uses_server_signature( ciphersuite_info ) ) in ssl_parse_server_key_exchange()
2578 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_certificate_request() local
2579 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_request()
2583 if( ! mbedtls_ssl_ciphersuite_cert_req_allowed( ciphersuite_info ) ) in ssl_parse_certificate_request()
2601 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_certificate_request() local
2602 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_request()
2611 if( ! mbedtls_ssl_ciphersuite_cert_req_allowed( ciphersuite_info ) ) in ssl_parse_certificate_request()
2837 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_write_client_key_exchange() local
2838 ssl->handshake->ciphersuite_info; in ssl_write_client_key_exchange()
2843 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_RSA ) in ssl_write_client_key_exchange()
2884 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_RSA || in ssl_write_client_key_exchange()
2885 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA || in ssl_write_client_key_exchange()
2886 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDH_RSA || in ssl_write_client_key_exchange()
2887 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA ) in ssl_write_client_key_exchange()
3029 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_PSK ) in ssl_write_client_key_exchange()
3155 if( mbedtls_ssl_ciphersuite_uses_psk( ciphersuite_info ) ) in ssl_write_client_key_exchange()
3187 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_PSK ) in ssl_write_client_key_exchange()
3194 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK ) in ssl_write_client_key_exchange()
3203 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_PSK ) in ssl_write_client_key_exchange()
3254 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_PSK ) in ssl_write_client_key_exchange()
3282 ciphersuite_info->key_exchange ) ) != 0 ) in ssl_write_client_key_exchange()
3293 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA ) in ssl_write_client_key_exchange()
3303 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE ) in ssl_write_client_key_exchange()
3346 ((void) ciphersuite_info); in ssl_write_client_key_exchange()
3372 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_write_certificate_verify() local
3373 ssl->handshake->ciphersuite_info; in ssl_write_certificate_verify()
3384 if( !mbedtls_ssl_ciphersuite_cert_req_allowed( ciphersuite_info ) ) in ssl_write_certificate_verify()
3399 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_write_certificate_verify() local
3400 ssl->handshake->ciphersuite_info; in ssl_write_certificate_verify()
3429 if( !mbedtls_ssl_ciphersuite_cert_req_allowed( ciphersuite_info ) ) in ssl_write_certificate_verify()
3478 if( ssl->handshake->ciphersuite_info->mac == MBEDTLS_MD_SHA384 ) in ssl_write_certificate_verify()