Lines Matching refs:enc_octet_len
1693 int enc_octet_len = 0; /* number of octets in encrypted portion */ in srtp_protect_aead() local
1740 enc_octet_len = in srtp_protect_aead()
1742 if (enc_octet_len < 0) in srtp_protect_aead()
1813 (unsigned int *)&enc_octet_len); in srtp_protect_aead()
1823 (uint8_t *)enc_start + enc_octet_len, &tag_len); in srtp_protect_aead()
1858 unsigned int enc_octet_len = 0; /* number of octets in encrypted portion */ in srtp_unprotect_aead() local
1916 enc_octet_len = (unsigned int)(*pkt_octet_len - mki_size - in srtp_unprotect_aead()
1924 if (enc_octet_len < (unsigned int)tag_len) { in srtp_unprotect_aead()
1959 &enc_octet_len); in srtp_unprotect_aead()
2052 int enc_octet_len = 0; /* number of octets in encrypted portion */ in srtp_protect_mki() local
2182 enc_octet_len = in srtp_protect_mki()
2184 if (enc_octet_len < 0) in srtp_protect_mki()
2321 (unsigned int *)&enc_octet_len); in srtp_protect_mki()
2380 unsigned int enc_octet_len = 0; /* number of octets in encrypted portion */ in srtp_unprotect_mki() local
2560 enc_octet_len = (uint32_t)(*pkt_octet_len - tag_len - mki_size - in srtp_unprotect_mki()
2654 (uint8_t *)enc_start, &enc_octet_len); in srtp_unprotect_mki()
3502 unsigned int enc_octet_len = 0; /* number of octets in encrypted portion */ in srtp_protect_rtcp_aead() local
3519 enc_octet_len = *pkt_octet_len - octets_in_rtcp_header; in srtp_protect_rtcp_aead()
3524 trailer_p = (uint32_t *)((char *)enc_start + enc_octet_len + tag_len); in srtp_protect_rtcp_aead()
3530 enc_octet_len = 0; in srtp_protect_rtcp_aead()
3612 (uint8_t *)enc_start, &enc_octet_len); in srtp_protect_rtcp_aead()
3624 enc_octet_len += tag_len; in srtp_protect_rtcp_aead()
3643 enc_octet_len += tag_len; in srtp_protect_rtcp_aead()
3673 unsigned int enc_octet_len = 0; /* number of octets in encrypted portion */ in srtp_unprotect_rtcp_aead() local
3705 enc_octet_len = *pkt_octet_len - (octets_in_rtcp_header + in srtp_unprotect_rtcp_aead()
3713 enc_octet_len = 0; in srtp_unprotect_rtcp_aead()
3781 (uint8_t *)enc_start, &enc_octet_len); in srtp_unprotect_rtcp_aead()
3871 unsigned int enc_octet_len = 0; /* number of octets in encrypted portion */ in srtp_protect_rtcp_mki() local
3956 enc_octet_len = *pkt_octet_len - octets_in_rtcp_header; in srtp_protect_rtcp_mki()
3963 trailer_p = (uint32_t *)((char *)enc_start + enc_octet_len); in srtp_protect_rtcp_mki()
3969 enc_octet_len = 0; in srtp_protect_rtcp_mki()
4055 (uint8_t *)enc_start, &enc_octet_len); in srtp_protect_rtcp_mki()
4101 unsigned int enc_octet_len = 0; /* number of octets in encrypted portion */ in srtp_unprotect_rtcp_mki() local
4210 enc_octet_len = *pkt_octet_len - (octets_in_rtcp_header + tag_len + in srtp_unprotect_rtcp_mki()
4230 enc_octet_len = 0; in srtp_unprotect_rtcp_mki()
4336 (uint8_t *)enc_start, &enc_octet_len); in srtp_unprotect_rtcp_mki()