Home
last modified time | relevance | path

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

/third_party/curl/lib/
Dcurl_sasl.c252 char *serverdata = NULL; in get_server_message() local
255 sasl->params->getmessage(data->state.buffer, &serverdata); in get_server_message()
256 if(!serverdata) in get_server_message()
258 else if(!*serverdata || *serverdata == '=') in get_server_message()
261 result = Curl_base64_decode(serverdata, &msg, &msglen); in get_server_message()
516 struct bufref serverdata; in Curl_sasl_continue() local
518 Curl_bufref_init(&serverdata); in Curl_sasl_continue()
558 result = get_server_message(sasl, data, &serverdata); in Curl_sasl_continue()
560 result = Curl_auth_gsasl_token(data, &serverdata, &conn->gsasl, &resp); in Curl_sasl_continue()
566 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()
Drtmpcrypt.h47 int ff_rtmpe_compute_secret_key(URLContext *h, const uint8_t *serverdata,
Drtmpproto.c1208 uint8_t serverdata[RTMP_HANDSHAKE_PACKET_SIZE+1]; in rtmp_handshake() local
1247 if ((ret = ffurl_read_complete(rt->stream, serverdata, in rtmp_handshake()
1259 av_log(s, AV_LOG_DEBUG, "Type answer %d\n", serverdata[0]); in rtmp_handshake()
1261 serverdata[5], serverdata[6], serverdata[7], serverdata[8]); in rtmp_handshake()
1263 if (rt->is_input && serverdata[5] >= 3) { in rtmp_handshake()
1264 server_pos = rtmp_validate_digest(serverdata + 1, 772); in rtmp_handshake()
1270 server_pos = rtmp_validate_digest(serverdata + 1, 8); in rtmp_handshake()
1283 if ((ret = rtmp_calc_swf_verification(s, rt, serverdata + 1 + in rtmp_handshake()
1302 if ((ret = ff_rtmpe_compute_secret_key(rt->stream, serverdata + 1, in rtmp_handshake()
1307 ff_rtmpe_encrypt_sig(rt->stream, signature, digest, serverdata[0]); in rtmp_handshake()
[all …]