Lines Matching refs:ciphersuite_info

688                          const mbedtls_ssl_ciphersuite_t *ciphersuite_info)
693 mbedtls_ssl_get_ciphersuite_sig_pk_psa_alg(ciphersuite_info);
695 mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage(ciphersuite_info);
698 mbedtls_ssl_get_ciphersuite_sig_pk_alg(ciphersuite_info);
758 if (mbedtls_ssl_check_cert_usage(cur->cert, ciphersuite_info,
792 * Sets ciphersuite_info only if the suite matches.
796 const mbedtls_ssl_ciphersuite_t **ciphersuite_info)
879 *ciphersuite_info = suite_info;
902 const mbedtls_ssl_ciphersuite_t *ciphersuite_info;
1598 ciphersuite_info = NULL;
1610 &ciphersuite_info)) != 0) {
1614 if (ciphersuite_info != NULL) {
1629 &ciphersuite_info)) != 0) {
1633 if (ciphersuite_info != NULL) {
1654 MBEDTLS_SSL_DEBUG_MSG(2, ("selected ciphersuite: %s", ciphersuite_info->name));
1657 ssl->handshake->ciphersuite_info = ciphersuite_info;
1670 mbedtls_pk_type_t sig_alg = mbedtls_ssl_get_ciphersuite_sig_alg(ciphersuite_info);
1935 if (ssl->handshake->ciphersuite_info->key_exchange !=
2398 const mbedtls_ssl_ciphersuite_t *ciphersuite_info =
2399 ssl->handshake->ciphersuite_info;
2403 if (!mbedtls_ssl_ciphersuite_cert_req_allowed(ciphersuite_info)) {
2417 const mbedtls_ssl_ciphersuite_t *ciphersuite_info =
2418 ssl->handshake->ciphersuite_info;
2437 if (!mbedtls_ssl_ciphersuite_cert_req_allowed(ciphersuite_info) ||
2792 const mbedtls_ssl_ciphersuite_t *ciphersuite_info =
2793 ssl->handshake->ciphersuite_info;
2801 (void) ciphersuite_info; /* unused in some configurations */
2826 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE) {
2890 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_PSK ||
2891 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_PSK) {
2902 if (mbedtls_ssl_ciphersuite_uses_dhe(ciphersuite_info)) {
2953 if (mbedtls_ssl_ciphersuite_uses_ecdhe(ciphersuite_info)) {
3109 if (mbedtls_ssl_ciphersuite_uses_server_signature(ciphersuite_info)) {
3128 mbedtls_ssl_get_ciphersuite_sig_pk_alg(ciphersuite_info);
3245 const mbedtls_ssl_ciphersuite_t *ciphersuite_info =
3246 ssl->handshake->ciphersuite_info;
3254 if (mbedtls_ssl_ciphersuite_no_pfs(ciphersuite_info)) {
3258 if (mbedtls_ssl_ciphersuite_uses_ecdh(ciphersuite_info)) {
3660 const mbedtls_ssl_ciphersuite_t *ciphersuite_info;
3663 ciphersuite_info = ssl->handshake->ciphersuite_info;
3670 if ((ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK ||
3671 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA) &&
3698 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_RSA) {
3725 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_RSA ||
3726 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA ||
3727 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDH_RSA ||
3728 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA) {
3818 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_PSK) {
3831 (mbedtls_key_exchange_type_t) ciphersuite_info->
3840 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK) {
3864 (mbedtls_key_exchange_type_t) ciphersuite_info->
3873 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_PSK) {
3906 (mbedtls_key_exchange_type_t) ciphersuite_info->
3915 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_PSK) {
4014 (mbedtls_key_exchange_type_t) ciphersuite_info->
4023 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA) {
4031 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE) {
4081 const mbedtls_ssl_ciphersuite_t *ciphersuite_info =
4082 ssl->handshake->ciphersuite_info;
4086 if (!mbedtls_ssl_ciphersuite_cert_req_allowed(ciphersuite_info)) {
4106 const mbedtls_ssl_ciphersuite_t *ciphersuite_info =
4107 ssl->handshake->ciphersuite_info;
4112 if (!mbedtls_ssl_ciphersuite_cert_req_allowed(ciphersuite_info)) {