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