Lines Matching refs:xtn_hdr_data

1387     uint8_t *xtn_hdr_data = ((uint8_t *)xtn_hdr) + octets_in_rtp_extn_hdr;  in srtp_process_header_encryption()  local
1389 xtn_hdr_data + (ntohs(xtn_hdr->length) * sizeof(uint32_t)); in srtp_process_header_encryption()
1393 while (xtn_hdr_data < xtn_hdr_end) { in srtp_process_header_encryption()
1394 uint8_t xid = (*xtn_hdr_data & 0xf0) >> 4; in srtp_process_header_encryption()
1395 unsigned int xlen = (*xtn_hdr_data & 0x0f) + 1; in srtp_process_header_encryption()
1397 xtn_hdr_data++; in srtp_process_header_encryption()
1399 if (xtn_hdr_data + xlen > xtn_hdr_end) in srtp_process_header_encryption()
1415 *xtn_hdr_data ^= keystream[keystream_pos++]; in srtp_process_header_encryption()
1416 xtn_hdr_data++; in srtp_process_header_encryption()
1420 xtn_hdr_data += xlen; in srtp_process_header_encryption()
1424 while (xtn_hdr_data < xtn_hdr_end && *xtn_hdr_data == 0) { in srtp_process_header_encryption()
1425 xtn_hdr_data++; in srtp_process_header_encryption()
1430 while (xtn_hdr_data + 1 < xtn_hdr_end) { in srtp_process_header_encryption()
1431 uint8_t xid = *xtn_hdr_data; in srtp_process_header_encryption()
1432 unsigned int xlen = *(xtn_hdr_data + 1); in srtp_process_header_encryption()
1434 xtn_hdr_data += 2; in srtp_process_header_encryption()
1436 if (xtn_hdr_data + xlen > xtn_hdr_end) in srtp_process_header_encryption()
1447 *xtn_hdr_data ^= keystream[keystream_pos++]; in srtp_process_header_encryption()
1448 xtn_hdr_data++; in srtp_process_header_encryption()
1452 xtn_hdr_data += xlen; in srtp_process_header_encryption()
1456 while (xtn_hdr_data < xtn_hdr_end && *xtn_hdr_data == 0) { in srtp_process_header_encryption()
1457 xtn_hdr_data++; in srtp_process_header_encryption()