Home
last modified time | relevance | path

Searched refs:serverdata (Results 1 – 4 of 4) sorted by relevance

/third_party/curl/lib/
Dcurl_sasl.c282 const char *serverdata = (const char *) Curl_bufref_ptr(out); in get_server_message() local
284 if(!*serverdata || *serverdata == '=') in get_server_message()
287 result = Curl_base64_decode(serverdata, &msg, &msglen); in get_server_message()
548 struct bufref serverdata; in Curl_sasl_continue() local
551 Curl_bufref_init(&serverdata); in Curl_sasl_continue()
590 result = get_server_message(sasl, data, &serverdata); in Curl_sasl_continue()
592 result = Curl_auth_gsasl_token(data, &serverdata, &conn->gsasl, &resp); in Curl_sasl_continue()
599 result = get_server_message(sasl, data, &serverdata); in Curl_sasl_continue()
601 result = Curl_auth_create_cram_md5_message(&serverdata, conn->user, in Curl_sasl_continue()
605 result = get_server_message(sasl, data, &serverdata); in Curl_sasl_continue()
[all …]
/third_party/ffmpeg/libavformat/
Drtmpcrypt.c145 int ff_rtmpe_compute_secret_key(URLContext *h, const uint8_t *serverdata, in ff_rtmpe_compute_secret_key() argument
154 if ((server_pos = ff_rtmp_calc_digest_pos(serverdata, 1532, 632, 772)) < 0) in ff_rtmpe_compute_secret_key()
157 if ((server_pos = ff_rtmp_calc_digest_pos(serverdata, 768, 632, 8)) < 0) in ff_rtmpe_compute_secret_key()
165 if ((ret = ff_dh_compute_shared_secret_key(rt->dh, serverdata + server_pos, in ff_rtmpe_compute_secret_key()
170 if ((ret = ff_rtmp_calc_digest(serverdata + server_pos, 128, 0, secret_key, in ff_rtmpe_compute_secret_key()
Drtmpproto.c1212 uint8_t serverdata[RTMP_HANDSHAKE_PACKET_SIZE+1]; in rtmp_handshake() local
1251 if ((ret = ffurl_read_complete(rt->stream, serverdata, in rtmp_handshake()
1263 av_log(s, AV_LOG_DEBUG, "Type answer %d\n", serverdata[0]); in rtmp_handshake()
1265 serverdata[5], serverdata[6], serverdata[7], serverdata[8]); in rtmp_handshake()
1267 if (rt->is_input && serverdata[5] >= 3) { in rtmp_handshake()
1268 server_pos = rtmp_validate_digest(serverdata + 1, 772); in rtmp_handshake()
1274 server_pos = rtmp_validate_digest(serverdata + 1, 8); in rtmp_handshake()
1287 if ((ret = rtmp_calc_swf_verification(s, rt, serverdata + 1 + in rtmp_handshake()
1306 if ((ret = ff_rtmpe_compute_secret_key(rt->stream, serverdata + 1, in rtmp_handshake()
1311 ff_rtmpe_encrypt_sig(rt->stream, signature, digest, serverdata[0]); in rtmp_handshake()
[all …]
Drtmpcrypt.h47 int ff_rtmpe_compute_secret_key(URLContext *h, const uint8_t *serverdata,