Searched refs:pkt_octet_len (Results 1 – 9 of 9) sorted by relevance
/external/srtp/srtp/ |
D | ekt.c | 94 srtcp_packet_get_ekt_spi(const uint8_t *packet_start, unsigned pkt_octet_len) { in srtcp_packet_get_ekt_spi() argument 97 spi_location = packet_start + (pkt_octet_len - EKT_SPI_LEN); in srtcp_packet_get_ekt_spi() 103 srtcp_packet_get_ekt_roc(const uint8_t *packet_start, unsigned pkt_octet_len) { in srtcp_packet_get_ekt_roc() argument 106 roc_location = packet_start + (pkt_octet_len - EKT_OCTETS_AFTER_ROC); in srtcp_packet_get_ekt_roc() 113 unsigned pkt_octet_len) { in srtcp_packet_get_emk_location() argument 116 location = packet_start + (pkt_octet_len - EKT_OCTETS_AFTER_BASE_TAG); in srtcp_packet_get_emk_location() 165 unsigned pkt_octet_len) { in srtp_stream_init_from_ekt() argument 176 srtcp_packet_get_ekt_spi(srtcp_hdr, pkt_octet_len)) in srtp_stream_init_from_ekt() 184 master_key = srtcp_packet_get_emk_location(srtcp_hdr, pkt_octet_len); in srtp_stream_init_from_ekt() 188 roc = srtcp_packet_get_ekt_roc(srtcp_hdr, pkt_octet_len); in srtp_stream_init_from_ekt()
|
D | srtp.c | 597 srtp_protect(srtp_ctx_t *ctx, void *rtp_hdr, int *pkt_octet_len) { in srtp_protect() argument 615 if (*pkt_octet_len < octets_in_rtp_header) in srtp_protect() 700 enc_octet_len = (unsigned int)(*pkt_octet_len in srtp_protect() 713 auth_tag = (uint8_t *)hdr + *pkt_octet_len; in srtp_protect() 816 (uint8_t *)auth_start, *pkt_octet_len); in srtp_protect() 832 *pkt_octet_len += tag_len; in srtp_protect() 840 srtp_unprotect(srtp_ctx_t *ctx, void *srtp_hdr, int *pkt_octet_len) { in srtp_unprotect() argument 859 if (*pkt_octet_len < octets_in_rtp_header) in srtp_unprotect() 969 enc_octet_len = (uint32_t)(*pkt_octet_len - tag_len in srtp_unprotect() 982 auth_tag = (uint8_t *)hdr + *pkt_octet_len - tag_len; in srtp_unprotect() [all …]
|
/external/srtp/googlepatches/ |
D | vidyo-1-srtp-win.patch | 67 -srtcp_packet_get_ekt_spi(const void *packet_start, unsigned pkt_octet_len) { 69 +srtcp_packet_get_ekt_spi(const uint8_t *packet_start, unsigned pkt_octet_len) { 72 spi_location = packet_start + (pkt_octet_len - EKT_SPI_LEN); 79 -srtcp_packet_get_ekt_roc(const void *packet_start, unsigned pkt_octet_len) { 81 +srtcp_packet_get_ekt_roc(const uint8_t *packet_start, unsigned pkt_octet_len) { 84 roc_location = packet_start + (pkt_octet_len - EKT_OCTETS_AFTER_ROC); 94 unsigned pkt_octet_len) { 98 location = packet_start + (pkt_octet_len - EKT_OCTETS_AFTER_BASE_TAG); 102 unsigned pkt_octet_len) { 112 master_key = srtcp_packet_get_emk_location(srtcp_hdr, pkt_octet_len); [all …]
|
D | google-7-srtp-security-fix.patch | 43 @@ -1657,6 +1657,8 @@ srtp_unprotect_rtcp(srtp_t ctx, void *srtcp_hdr, int *pkt_octet_len) { 52 @@ -1694,7 +1696,10 @@ srtp_unprotect_rtcp(srtp_t ctx, void *srtcp_hdr, int *pkt_octet_len) { 64 @@ -1714,8 +1719,12 @@ srtp_unprotect_rtcp(srtp_t ctx, void *srtcp_hdr, int *pkt_octet_len) { 67 *pkt_octet_len -(tag_len + sizeof(srtcp_trailer_t)));
|
D | google-10-srtp-ios-fixes.pack | 79 srtcp_packet_get_ekt_spi(const uint8_t *packet_start, unsigned pkt_octet_len) { 88 srtcp_packet_get_ekt_roc(const uint8_t *packet_start, unsigned pkt_octet_len) { 98 unsigned pkt_octet_len) {
|
/external/srtp/test/ |
D | dtls_srtp_driver.c | 53 srtp_create_test_packet(int pkt_octet_len, uint32_t ssrc); 214 srtp_create_test_packet(int pkt_octet_len, uint32_t ssrc) { in srtp_create_test_packet() argument 221 hdr = malloc(pkt_octet_len + bytes_in_hdr in srtp_create_test_packet() 240 for (i=0; i < pkt_octet_len; i++) in srtp_create_test_packet()
|
D | srtp_driver.c | 378 srtp_create_test_packet(int pkt_octet_len, uint32_t ssrc) { in srtp_create_test_packet() argument 385 hdr = (srtp_hdr_t*) malloc(pkt_octet_len + bytes_in_hdr in srtp_create_test_packet() 404 for (i=0; i < pkt_octet_len; i++) in srtp_create_test_packet() 1071 srtp_packet_to_string(srtp_hdr_t *hdr, int pkt_octet_len) { in srtp_packet_to_string() argument 1074 int hex_len = pkt_octet_len-octets_in_rtp_header; in srtp_packet_to_string() 1077 if ((hdr == NULL) || (pkt_octet_len > MTU)) in srtp_packet_to_string() 1104 pkt_octet_len); in srtp_packet_to_string()
|
/external/srtp/include/ |
D | ekt.h | 143 unsigned pkt_octet_len); 189 unsigned pkt_octet_len);
|
D | srtp.h | 772 srtp_protect_rtcp(srtp_t ctx, void *rtcp_hdr, int *pkt_octet_len); 814 srtp_unprotect_rtcp(srtp_t ctx, void *srtcp_hdr, int *pkt_octet_len);
|