Lines Matching refs:ciphersuite_info
692 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in ssl_tls12_populate_transform() local
730 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( ciphersuite ); in ssl_tls12_populate_transform()
731 if( ciphersuite_info == NULL ) in ssl_tls12_populate_transform()
738 cipher_info = mbedtls_cipher_info_from_type( ciphersuite_info->cipher ); in ssl_tls12_populate_transform()
742 ciphersuite_info->cipher ) ); in ssl_tls12_populate_transform()
746 md_info = mbedtls_md_info_from_type( ciphersuite_info->mac ); in ssl_tls12_populate_transform()
750 (unsigned) ciphersuite_info->mac ) ); in ssl_tls12_populate_transform()
808 ciphersuite_info->flags & MBEDTLS_CIPHERSUITE_SHORT_TAG ? 8 : 16; in ssl_tls12_populate_transform()
1192 if( handshake->ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_PSK && in ssl_compute_master()
1202 mbedtls_md_type_t hash_alg = handshake->ciphersuite_info->mac; in ssl_compute_master()
1264 const mbedtls_ssl_ciphersuite_t * const ciphersuite_info = in mbedtls_ssl_derive_keys() local
1265 ssl->handshake->ciphersuite_info; in mbedtls_ssl_derive_keys()
1272 ciphersuite_info->mac ); in mbedtls_ssl_derive_keys()
1616 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in mbedtls_ssl_write_certificate() local
1617 ssl->handshake->ciphersuite_info; in mbedtls_ssl_write_certificate()
1621 if( !mbedtls_ssl_ciphersuite_uses_srv_cert( ciphersuite_info ) ) in mbedtls_ssl_write_certificate()
1634 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in mbedtls_ssl_parse_certificate() local
1635 ssl->handshake->ciphersuite_info; in mbedtls_ssl_parse_certificate()
1639 if( !mbedtls_ssl_ciphersuite_uses_srv_cert( ciphersuite_info ) ) in mbedtls_ssl_parse_certificate()
1658 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in mbedtls_ssl_write_certificate() local
1659 ssl->handshake->ciphersuite_info; in mbedtls_ssl_write_certificate()
1663 if( !mbedtls_ssl_ciphersuite_uses_srv_cert( ciphersuite_info ) ) in mbedtls_ssl_write_certificate()
1985 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_certificate_coordinate() local
1986 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_coordinate()
1988 if( !mbedtls_ssl_ciphersuite_uses_srv_cert( ciphersuite_info ) ) in ssl_parse_certificate_coordinate()
1994 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK ) in ssl_parse_certificate_coordinate()
2017 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = in ssl_parse_certificate_verify() local
2018 ssl->handshake->ciphersuite_info; in ssl_parse_certificate_verify()
2122 ciphersuite_info, in ssl_parse_certificate_verify()
2401 const mbedtls_ssl_ciphersuite_t *ciphersuite_info ) in mbedtls_ssl_optimize_checksum() argument
2403 ((void) ciphersuite_info); in mbedtls_ssl_optimize_checksum()
2407 if( ciphersuite_info->mac == MBEDTLS_MD_SHA384 ) in mbedtls_ssl_optimize_checksum()
2412 if( ciphersuite_info->mac != MBEDTLS_MD_SHA384 ) in mbedtls_ssl_optimize_checksum()
5902 const mbedtls_ssl_ciphersuite_t * const ciphersuite_info = in ssl_tls12prf_from_cs() local
5905 if( ciphersuite_info->mac == MBEDTLS_MD_SHA384 ) in ssl_tls12prf_from_cs()