Home
last modified time | relevance | path

Searched refs:server_pos (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavformat/
Drtmpcrypt.c150 int server_pos, client_pos; in ff_rtmpe_compute_secret_key() local
154 if ((server_pos = ff_rtmp_calc_digest_pos(serverdata, 1532, 632, 772)) < 0) in ff_rtmpe_compute_secret_key()
155 return server_pos; 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()
158 return server_pos; 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.c1214 int server_pos, client_pos; in rtmp_handshake() local
1268 server_pos = rtmp_validate_digest(serverdata + 1, 772); in rtmp_handshake()
1269 if (server_pos < 0) in rtmp_handshake()
1270 return server_pos; in rtmp_handshake()
1272 if (!server_pos) { in rtmp_handshake()
1274 server_pos = rtmp_validate_digest(serverdata + 1, 8); in rtmp_handshake()
1275 if (server_pos < 0) in rtmp_handshake()
1276 return server_pos; in rtmp_handshake()
1278 if (!server_pos) { in rtmp_handshake()
1321 ret = ff_rtmp_calc_digest(serverdata + 1 + server_pos, 32, 0, in rtmp_handshake()