Searched refs:pkt_octet_len (Results 1 – 6 of 6) sorted by relevance
/external/libsrtp2/srtp/ |
D | ekt.c | 94 unsigned pkt_octet_len) in srtcp_packet_get_ekt_spi() argument 98 spi_location = packet_start + (pkt_octet_len - EKT_SPI_LEN); in srtcp_packet_get_ekt_spi() 104 unsigned pkt_octet_len) in srtcp_packet_get_ekt_roc() argument 108 roc_location = packet_start + (pkt_octet_len - EKT_OCTETS_AFTER_ROC); in srtcp_packet_get_ekt_roc() 115 unsigned pkt_octet_len) in srtcp_packet_get_emk_location() argument 119 location = packet_start + (pkt_octet_len - EKT_OCTETS_AFTER_BASE_TAG); in srtcp_packet_get_emk_location() 170 unsigned pkt_octet_len) in srtp_stream_init_from_ekt() argument 181 srtcp_packet_get_ekt_spi(srtcp_hdr, pkt_octet_len)) in srtp_stream_init_from_ekt() 188 master_key = srtcp_packet_get_emk_location(srtcp_hdr, pkt_octet_len); in srtp_stream_init_from_ekt() 196 roc = srtcp_packet_get_ekt_roc(srtcp_hdr, pkt_octet_len); in srtp_stream_init_from_ekt()
|
D | srtp.c | 83 int *pkt_octet_len) in srtp_validate_rtp_header() argument 88 if (*pkt_octet_len < octets_in_rtp_header) in srtp_validate_rtp_header() 96 if (*pkt_octet_len < rtp_header_len) in srtp_validate_rtp_header() 107 if (*pkt_octet_len < rtp_header_len) in srtp_validate_rtp_header() 1540 const unsigned int *pkt_octet_len, in srtp_get_session_keys() argument 1543 unsigned int base_mki_start_location = *pkt_octet_len; in srtp_get_session_keys() 1687 unsigned int *pkt_octet_len, in srtp_protect_aead() argument 1738 if (!((uint8_t *)enc_start <= (uint8_t *)hdr + *pkt_octet_len)) in srtp_protect_aead() 1741 (int)(*pkt_octet_len - ((uint8_t *)enc_start - (uint8_t *)hdr)); in srtp_protect_aead() 1828 mki_location = (uint8_t *)hdr + *pkt_octet_len + tag_len; in srtp_protect_aead() [all …]
|
/external/libsrtp2/test/ |
D | dtls_srtp_driver.c | 51 srtp_hdr_t *srtp_create_test_packet(int pkt_octet_len, uint32_t ssrc); 227 srtp_hdr_t *srtp_create_test_packet(int pkt_octet_len, uint32_t ssrc) in srtp_create_test_packet() argument 235 hdr = malloc(pkt_octet_len + bytes_in_hdr + SRTP_MAX_TRAILER_LEN + 4); in srtp_create_test_packet() 253 for (i = 0; i < pkt_octet_len; i++) in srtp_create_test_packet()
|
D | srtp_driver.c | 649 srtp_hdr_t *srtp_create_test_packet(int pkt_octet_len, in srtp_create_test_packet() argument 659 hdr = (srtp_hdr_t *)malloc(pkt_octet_len + bytes_in_hdr + in srtp_create_test_packet() 679 for (i = 0; i < pkt_octet_len; i++) { in srtp_create_test_packet() 688 *pkt_len = bytes_in_hdr + pkt_octet_len; in srtp_create_test_packet() 693 static srtp_hdr_t *srtp_create_test_packet_extended(int pkt_octet_len, in srtp_create_test_packet_extended() argument 701 hdr = srtp_create_test_packet(pkt_octet_len, ssrc, pkt_len); in srtp_create_test_packet_extended() 710 srtp_hdr_t *srtp_create_test_packet_ext_hdr(int pkt_octet_len, in srtp_create_test_packet_ext_hdr() argument 737 hdr = (srtp_hdr_t *)malloc(pkt_octet_len + bytes_in_hdr + in srtp_create_test_packet_ext_hdr() 760 for (i = 0; i < pkt_octet_len; i++) in srtp_create_test_packet_ext_hdr() 767 *pkt_len = bytes_in_hdr + sizeof(extension_header) + pkt_octet_len; in srtp_create_test_packet_ext_hdr() [all …]
|
/external/libsrtp2/include/ |
D | srtp.h | 470 int *pkt_octet_len, 1327 int *pkt_octet_len); 1376 int *pkt_octet_len, 1420 int *pkt_octet_len); 1469 int *pkt_octet_len,
|
D | ekt.h | 133 unsigned pkt_octet_len); 172 unsigned pkt_octet_len);
|