Lines Matching refs:ciphersuite_info

996     const mbedtls_ssl_ciphersuite_t *ciphersuite_info;  in ssl_populate_transform()  local
1024 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( ciphersuite ); in ssl_populate_transform()
1025 if( ciphersuite_info == NULL ) in ssl_populate_transform()
1032 cipher_info = mbedtls_cipher_info_from_type( ciphersuite_info->cipher ); in ssl_populate_transform()
1036 ciphersuite_info->cipher ) ); in ssl_populate_transform()
1040 md_info = mbedtls_md_info_from_type( ciphersuite_info->mac ); in ssl_populate_transform()
1044 (unsigned) ciphersuite_info->mac ) ); in ssl_populate_transform()
1102 ciphersuite_info->flags & MBEDTLS_CIPHERSUITE_SHORT_TAG ? 8 : 16; in ssl_populate_transform()
1653 if( handshake->ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_PSK && in ssl_compute_master()
1663 mbedtls_md_type_t hash_alg = handshake->ciphersuite_info->mac; in ssl_compute_master()
1725 const mbedtls_ssl_ciphersuite_t * const ciphersuite_info = in mbedtls_ssl_derive_keys() local
1726 ssl->handshake->ciphersuite_info; in mbedtls_ssl_derive_keys()
1733 ciphersuite_info->mac ); in mbedtls_ssl_derive_keys()
2184 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in mbedtls_ssl_write_certificate() local
2185 ssl->handshake->ciphersuite_info; in mbedtls_ssl_write_certificate()
2189 if( !mbedtls_ssl_ciphersuite_uses_srv_cert( ciphersuite_info ) ) in mbedtls_ssl_write_certificate()
2202 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in mbedtls_ssl_parse_certificate() local
2203 ssl->handshake->ciphersuite_info; in mbedtls_ssl_parse_certificate()
2207 if( !mbedtls_ssl_ciphersuite_uses_srv_cert( ciphersuite_info ) ) in mbedtls_ssl_parse_certificate()
2226 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in mbedtls_ssl_write_certificate() local
2227 ssl->handshake->ciphersuite_info; in mbedtls_ssl_write_certificate()
2231 if( !mbedtls_ssl_ciphersuite_uses_srv_cert( ciphersuite_info ) ) in mbedtls_ssl_write_certificate()
2594 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_certificate_coordinate() local
2595 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_coordinate()
2597 if( !mbedtls_ssl_ciphersuite_uses_srv_cert( ciphersuite_info ) ) in ssl_parse_certificate_coordinate()
2603 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK ) in ssl_parse_certificate_coordinate()
2627 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_certificate_verify() local
2628 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_verify()
2734 ciphersuite_info, in ssl_parse_certificate_verify()
3015 const mbedtls_ssl_ciphersuite_t *ciphersuite_info ) in mbedtls_ssl_optimize_checksum() argument
3017 ((void) ciphersuite_info); in mbedtls_ssl_optimize_checksum()
3027 if( ciphersuite_info->mac == MBEDTLS_MD_SHA384 ) in mbedtls_ssl_optimize_checksum()
3032 if( ciphersuite_info->mac != MBEDTLS_MD_SHA384 ) in mbedtls_ssl_optimize_checksum()
6520 const mbedtls_ssl_ciphersuite_t * const ciphersuite_info = in ssl_tls12prf_from_cs() local
6523 if( ciphersuite_info->mac == MBEDTLS_MD_SHA384 ) in ssl_tls12prf_from_cs()