Lines Matching refs:handshake

570     mbedtls_ssl_handshake_params *handshake = ssl->handshake;  in mbedtls_ssl_tls13_key_schedule_stage_application()  local
571 mbedtls_md_type_t const md_type = handshake->ciphersuite_info->mac; in mbedtls_ssl_tls13_key_schedule_stage_application()
581 handshake->tls1_3_master_secrets.handshake, in mbedtls_ssl_tls13_key_schedule_stage_application()
583 handshake->tls1_3_master_secrets.app ); in mbedtls_ssl_tls13_key_schedule_stage_application()
591 handshake->tls1_3_master_secrets.app, md_size ); in mbedtls_ssl_tls13_key_schedule_stage_application()
659 mbedtls_md_type_t const md_type = ssl->handshake->ciphersuite_info->mac; in mbedtls_ssl_tls13_calculate_verify_data()
679 base_key = ssl->handshake->tls13_hs_secrets.client_handshake_traffic_secret; in mbedtls_ssl_tls13_calculate_verify_data()
681 base_key = ssl->handshake->tls13_hs_secrets.server_handshake_traffic_secret; in mbedtls_ssl_tls13_calculate_verify_data()
909 mbedtls_ssl_handshake_params *handshake = ssl->handshake; in mbedtls_ssl_tls1_3_key_schedule_stage_early() local
911 if( handshake->ciphersuite_info == NULL ) in mbedtls_ssl_tls1_3_key_schedule_stage_early()
917 md_type = handshake->ciphersuite_info->mac; in mbedtls_ssl_tls1_3_key_schedule_stage_early()
920 handshake->tls1_3_master_secrets.early ); in mbedtls_ssl_tls1_3_key_schedule_stage_early()
947 mbedtls_ssl_handshake_params *handshake = ssl->handshake; in mbedtls_ssl_tls13_generate_handshake_keys() local
948 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = handshake->ciphersuite_info; in mbedtls_ssl_tls13_generate_handshake_keys()
949 mbedtls_ssl_tls1_3_handshake_secrets *tls13_hs_secrets = &handshake->tls13_hs_secrets; in mbedtls_ssl_tls13_generate_handshake_keys()
974 handshake->tls1_3_master_secrets.handshake, in mbedtls_ssl_tls13_generate_handshake_keys()
999 handshake->randbytes + 32, in mbedtls_ssl_tls13_generate_handshake_keys()
1000 handshake->randbytes, in mbedtls_ssl_tls13_generate_handshake_keys()
1007 handshake->randbytes + 32, in mbedtls_ssl_tls13_generate_handshake_keys()
1008 handshake->randbytes, in mbedtls_ssl_tls13_generate_handshake_keys()
1048 mbedtls_ssl_handshake_params *handshake = ssl->handshake; in mbedtls_ssl_tls13_key_schedule_stage_handshake() local
1049 mbedtls_md_type_t const md_type = handshake->ciphersuite_info->mac; in mbedtls_ssl_tls13_key_schedule_stage_handshake()
1065 if( mbedtls_ssl_tls13_named_group_is_ecdhe( handshake->offered_group_id ) ) in mbedtls_ssl_tls13_key_schedule_stage_handshake()
1068 ret = mbedtls_ecdh_calc_secret( &handshake->ecdh_ctx, in mbedtls_ssl_tls13_key_schedule_stage_handshake()
1079 else if( mbedtls_ssl_tls13_named_group_is_dhe( handshake->offered_group_id ) ) in mbedtls_ssl_tls13_key_schedule_stage_handshake()
1093 handshake->tls1_3_master_secrets.early, in mbedtls_ssl_tls13_key_schedule_stage_handshake()
1095 handshake->tls1_3_master_secrets.handshake ); in mbedtls_ssl_tls13_key_schedule_stage_handshake()
1103 handshake->tls1_3_master_secrets.handshake, md_size ); in mbedtls_ssl_tls13_key_schedule_stage_handshake()
1119 mbedtls_ssl_handshake_params *handshake = ssl->handshake; in mbedtls_ssl_tls13_generate_application_keys() local
1143 handshake->ciphersuite_info->cipher ); in mbedtls_ssl_tls13_generate_application_keys()
1147 md_type = handshake->ciphersuite_info->mac; in mbedtls_ssl_tls13_generate_application_keys()
1163 handshake->tls1_3_master_secrets.app, in mbedtls_ssl_tls13_generate_application_keys()
1201 handshake->randbytes + 32, in mbedtls_ssl_tls13_generate_application_keys()
1202 handshake->randbytes, in mbedtls_ssl_tls13_generate_application_keys()
1209 handshake->randbytes + 32, in mbedtls_ssl_tls13_generate_application_keys()
1210 handshake->randbytes, in mbedtls_ssl_tls13_generate_application_keys()