Lines Matching refs:rtp_xtn_hdr_cipher
202 session_keys->rtp_xtn_hdr_cipher == in srtp_stream_dealloc()
203 template_session_keys->rtp_xtn_hdr_cipher) { in srtp_stream_dealloc()
205 } else if (session_keys->rtp_xtn_hdr_cipher) { in srtp_stream_dealloc()
206 status = srtp_cipher_dealloc(session_keys->rtp_xtn_hdr_cipher); in srtp_stream_dealloc()
423 enc_xtn_hdr_cipher_type, &session_keys->rtp_xtn_hdr_cipher, in srtp_stream_alloc()
433 session_keys->rtp_xtn_hdr_cipher = NULL; in srtp_stream_alloc()
486 session_keys->rtp_xtn_hdr_cipher = in srtp_stream_clone()
487 template_session_keys->rtp_xtn_hdr_cipher; in srtp_stream_clone()
992 if (session_keys->rtp_xtn_hdr_cipher) { in srtp_stream_init_keys()
1000 if (session_keys->rtp_xtn_hdr_cipher->type != in srtp_stream_init_keys()
1009 srtp_cipher_get_key_length(session_keys->rtp_xtn_hdr_cipher); in srtp_stream_init_keys()
1011 session_keys->rtp_xtn_hdr_cipher->type, rtp_xtn_hdr_keylen); in srtp_stream_init_keys()
1096 stat = srtp_cipher_init(session_keys->rtp_xtn_hdr_cipher, tmp_key); in srtp_stream_init_keys()
1407 status = srtp_cipher_output(session_keys->rtp_xtn_hdr_cipher, in srtp_process_header_encryption()
1439 status = srtp_cipher_output(session_keys->rtp_xtn_hdr_cipher, in srtp_process_header_encryption()
1780 if (!status && session_keys->rtp_xtn_hdr_cipher) { in srtp_protect_aead()
1784 status = srtp_cipher_set_iv(session_keys->rtp_xtn_hdr_cipher, in srtp_protect_aead()
1791 if (xtn_hdr && session_keys->rtp_xtn_hdr_cipher) { in srtp_protect_aead()
1883 if (!status && session_keys->rtp_xtn_hdr_cipher) { in srtp_unprotect_aead()
1892 status = srtp_cipher_set_iv(session_keys->rtp_xtn_hdr_cipher, in srtp_unprotect_aead()
1964 if (xtn_hdr && session_keys->rtp_xtn_hdr_cipher) { in srtp_unprotect_aead()
2258 if (!status && session_keys->rtp_xtn_hdr_cipher) { in srtp_protect_mki()
2259 status = srtp_cipher_set_iv(session_keys->rtp_xtn_hdr_cipher, in srtp_protect_mki()
2275 if (!status && session_keys->rtp_xtn_hdr_cipher) { in srtp_protect_mki()
2276 status = srtp_cipher_set_iv(session_keys->rtp_xtn_hdr_cipher, in srtp_protect_mki()
2307 if (xtn_hdr && session_keys->rtp_xtn_hdr_cipher) { in srtp_protect_mki()
2512 if (!status && session_keys->rtp_xtn_hdr_cipher) { in srtp_unprotect_mki()
2513 status = srtp_cipher_set_iv(session_keys->rtp_xtn_hdr_cipher, in srtp_unprotect_mki()
2527 if (!status && session_keys->rtp_xtn_hdr_cipher) { in srtp_unprotect_mki()
2528 status = srtp_cipher_set_iv(session_keys->rtp_xtn_hdr_cipher, in srtp_unprotect_mki()
2643 if (xtn_hdr && session_keys->rtp_xtn_hdr_cipher) { in srtp_unprotect_mki()