Lines Matching refs:rtcp_cipher
216 session_keys->rtcp_cipher == in srtp_stream_dealloc()
217 template_session_keys->rtcp_cipher) { in srtp_stream_dealloc()
219 } else if (session_keys->rtcp_cipher) { in srtp_stream_dealloc()
220 status = srtp_cipher_dealloc(session_keys->rtcp_cipher); in srtp_stream_dealloc()
351 p->rtcp.cipher_type, &session_keys->rtcp_cipher, in srtp_stream_alloc()
488 session_keys->rtcp_cipher = template_session_keys->rtcp_cipher; in srtp_stream_clone()
909 rtcp_keylen = srtp_cipher_get_key_length(session_keys->rtcp_cipher); in srtp_stream_init_keys()
1139 base_key_length(session_keys->rtcp_cipher->type, rtcp_keylen); in srtp_stream_init_keys()
1180 stat = srtp_cipher_init(session_keys->rtcp_cipher, tmp_key); in srtp_stream_init_keys()
3568 status = srtp_cipher_set_iv(session_keys->rtcp_cipher, (uint8_t *)&iv, in srtp_protect_rtcp_aead()
3582 status = srtp_cipher_set_aad(session_keys->rtcp_cipher, (uint8_t *)hdr, in srtp_protect_rtcp_aead()
3593 status = srtp_cipher_set_aad(session_keys->rtcp_cipher, (uint8_t *)hdr, in srtp_protect_rtcp_aead()
3603 status = srtp_cipher_set_aad(session_keys->rtcp_cipher, (uint8_t *)&tseq, in srtp_protect_rtcp_aead()
3611 status = srtp_cipher_encrypt(session_keys->rtcp_cipher, in srtp_protect_rtcp_aead()
3619 status = srtp_cipher_get_tag(session_keys->rtcp_cipher, in srtp_protect_rtcp_aead()
3631 status = srtp_cipher_encrypt(session_keys->rtcp_cipher, NULL, &nolen); in srtp_protect_rtcp_aead()
3638 status = srtp_cipher_get_tag(session_keys->rtcp_cipher, in srtp_protect_rtcp_aead()
3735 status = srtp_cipher_set_iv(session_keys->rtcp_cipher, (uint8_t *)&iv, in srtp_unprotect_rtcp_aead()
3749 status = srtp_cipher_set_aad(session_keys->rtcp_cipher, (uint8_t *)hdr, in srtp_unprotect_rtcp_aead()
3761 session_keys->rtcp_cipher, (uint8_t *)hdr, in srtp_unprotect_rtcp_aead()
3772 status = srtp_cipher_set_aad(session_keys->rtcp_cipher, (uint8_t *)&tseq, in srtp_unprotect_rtcp_aead()
3780 status = srtp_cipher_decrypt(session_keys->rtcp_cipher, in srtp_unprotect_rtcp_aead()
3790 status = srtp_cipher_decrypt(session_keys->rtcp_cipher, in srtp_unprotect_rtcp_aead()
4007 if (session_keys->rtcp_cipher->type->id == SRTP_AES_ICM_128 || in srtp_protect_rtcp_mki()
4008 session_keys->rtcp_cipher->type->id == SRTP_AES_ICM_192 || in srtp_protect_rtcp_mki()
4009 session_keys->rtcp_cipher->type->id == SRTP_AES_ICM_256) { in srtp_protect_rtcp_mki()
4016 status = srtp_cipher_set_iv(session_keys->rtcp_cipher, (uint8_t *)&iv, in srtp_protect_rtcp_mki()
4027 status = srtp_cipher_set_iv(session_keys->rtcp_cipher, (uint8_t *)&iv, in srtp_protect_rtcp_mki()
4042 status = srtp_cipher_output(session_keys->rtcp_cipher, auth_tag, in srtp_protect_rtcp_mki()
4054 status = srtp_cipher_encrypt(session_keys->rtcp_cipher, in srtp_protect_rtcp_mki()
4276 if (session_keys->rtcp_cipher->type->id == SRTP_AES_ICM_128 || in srtp_unprotect_rtcp_mki()
4277 session_keys->rtcp_cipher->type->id == SRTP_AES_ICM_192 || in srtp_unprotect_rtcp_mki()
4278 session_keys->rtcp_cipher->type->id == SRTP_AES_ICM_256) { in srtp_unprotect_rtcp_mki()
4285 status = srtp_cipher_set_iv(session_keys->rtcp_cipher, (uint8_t *)&iv, in srtp_unprotect_rtcp_mki()
4296 status = srtp_cipher_set_iv(session_keys->rtcp_cipher, (uint8_t *)&iv, in srtp_unprotect_rtcp_mki()
4325 status = srtp_cipher_output(session_keys->rtcp_cipher, auth_tag, in srtp_unprotect_rtcp_mki()
4335 status = srtp_cipher_decrypt(session_keys->rtcp_cipher, in srtp_unprotect_rtcp_mki()