Lines Matching refs:ciphersuite_info

783                                    const mbedtls_ssl_ciphersuite_t *ciphersuite_info)  in mbedtls_ssl_optimize_checksum()  argument
785 ((void) ciphersuite_info); in mbedtls_ssl_optimize_checksum()
788 if (ciphersuite_info->mac == MBEDTLS_MD_SHA384) { in mbedtls_ssl_optimize_checksum()
793 if (ciphersuite_info->mac != MBEDTLS_MD_SHA384) { in mbedtls_ssl_optimize_checksum()
1763 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in mbedtls_ssl_set_session() local
1767 ssl, ciphersuite_info, MBEDTLS_SSL_VERSION_TLS1_3, in mbedtls_ssl_set_session()
2264 if (ssl->handshake->ciphersuite_info->mac == MBEDTLS_MD_SHA384) { in mbedtls_ssl_set_hs_psk()
7067 if (mbedtls_ssl_ciphersuite_uses_psk(handshake->ciphersuite_info) == 1) { in ssl_compute_master()
7074 mbedtls_md_type_t hash_alg = (mbedtls_md_type_t) handshake->ciphersuite_info->mac; in ssl_compute_master()
7089 switch (handshake->ciphersuite_info->key_exchange) { in ssl_compute_master()
7137 if (handshake->ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE) { in ssl_compute_master()
7203 const mbedtls_ssl_ciphersuite_t * const ciphersuite_info = in mbedtls_ssl_derive_keys() local
7204 ssl->handshake->ciphersuite_info; in mbedtls_ssl_derive_keys()
7210 (mbedtls_md_type_t) ciphersuite_info->mac); in mbedtls_ssl_derive_keys()
7549 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in mbedtls_ssl_write_certificate() local
7550 ssl->handshake->ciphersuite_info; in mbedtls_ssl_write_certificate()
7554 if (!mbedtls_ssl_ciphersuite_uses_srv_cert(ciphersuite_info)) { in mbedtls_ssl_write_certificate()
7566 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in mbedtls_ssl_parse_certificate() local
7567 ssl->handshake->ciphersuite_info; in mbedtls_ssl_parse_certificate()
7571 if (!mbedtls_ssl_ciphersuite_uses_srv_cert(ciphersuite_info)) { in mbedtls_ssl_parse_certificate()
7589 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in mbedtls_ssl_write_certificate() local
7590 ssl->handshake->ciphersuite_info; in mbedtls_ssl_write_certificate()
7594 if (!mbedtls_ssl_ciphersuite_uses_srv_cert(ciphersuite_info)) { in mbedtls_ssl_write_certificate()
7904 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_certificate_coordinate() local
7905 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_coordinate()
7907 if (!mbedtls_ssl_ciphersuite_uses_srv_cert(ciphersuite_info)) { in ssl_parse_certificate_coordinate()
7913 if (ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK) { in ssl_parse_certificate_coordinate()
7937 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_certificate_verify() local
7938 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_verify()
8049 ciphersuite_info, in ssl_parse_certificate_verify()
8729 const mbedtls_ssl_ciphersuite_t * const ciphersuite_info = in ssl_tls12prf_from_cs() local
8732 if (ciphersuite_info != NULL && ciphersuite_info->mac == MBEDTLS_MD_SHA384) { in ssl_tls12prf_from_cs()
8738 if (ciphersuite_info != NULL && ciphersuite_info->mac == MBEDTLS_MD_SHA256) { in ssl_tls12prf_from_cs()
8745 (void) ciphersuite_info; in ssl_tls12prf_from_cs()
8810 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in ssl_tls12_populate_transform() local
8849 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id(ciphersuite); in ssl_tls12_populate_transform()
8850 if (ciphersuite_info == NULL) { in ssl_tls12_populate_transform()
8860 ciphersuite_info); in ssl_tls12_populate_transform()
8864 ciphersuite_info->flags & MBEDTLS_CIPHERSUITE_SHORT_TAG ? 8 : 16; in ssl_tls12_populate_transform()
8868 if ((status = mbedtls_ssl_cipher_to_psa((mbedtls_cipher_type_t) ciphersuite_info->cipher, in ssl_tls12_populate_transform()
8878 cipher_info = mbedtls_cipher_info_from_type((mbedtls_cipher_type_t) ciphersuite_info->cipher); in ssl_tls12_populate_transform()
8881 ciphersuite_info->cipher)); in ssl_tls12_populate_transform()
8887 mac_alg = mbedtls_md_psa_alg_from_type((mbedtls_md_type_t) ciphersuite_info->mac); in ssl_tls12_populate_transform()
8890 (unsigned) ciphersuite_info->mac)); in ssl_tls12_populate_transform()
8894 md_info = mbedtls_md_info_from_type((mbedtls_md_type_t) ciphersuite_info->mac); in ssl_tls12_populate_transform()
8897 (unsigned) ciphersuite_info->mac)); in ssl_tls12_populate_transform()