Searched refs:srtp_ctx (Results 1 – 6 of 6) sorted by relevance
/external/libsrtp2/fuzzer/ |
D | fuzzer.c | 260 static srtp_err_status_t fuzz_srtp_get_protect_length(const srtp_t srtp_ctx, in fuzz_srtp_get_protect_length() argument 265 return srtp_get_protect_trailer_length(srtp_ctx, 0, 0, length); in fuzz_srtp_get_protect_length() 269 const srtp_t srtp_ctx, in fuzz_srtp_get_protect_rtcp_length() argument 274 return srtp_get_protect_rtcp_trailer_length(srtp_ctx, 0, 0, length); in fuzz_srtp_get_protect_rtcp_length() 277 static srtp_err_status_t fuzz_srtp_get_protect_mki_length(const srtp_t srtp_ctx, in fuzz_srtp_get_protect_mki_length() argument 282 return srtp_get_protect_trailer_length(srtp_ctx, use_mki, mki, length); in fuzz_srtp_get_protect_mki_length() 286 const srtp_t srtp_ctx, in fuzz_srtp_get_protect_rtcp_mki_length() argument 291 return srtp_get_protect_rtcp_trailer_length(srtp_ctx, use_mki, mki, length); in fuzz_srtp_get_protect_rtcp_mki_length() 645 static uint8_t *run_srtp_func(const srtp_t srtp_ctx, in run_srtp_func() argument 691 srtp_ctx, params_1.use_mki, params_1.mki, &alloc_size) != in run_srtp_func() [all …]
|
D | fuzzer.h | 86 static srtp_err_status_t fuzz_srtp_get_protect_length(const srtp_t srtp_ctx, 90 static srtp_err_status_t fuzz_srtp_get_protect_mki_length(const srtp_t srtp_ctx, 95 const srtp_t srtp_ctx, 100 const srtp_t srtp_ctx,
|
/external/libsrtp2/test/ |
D | rtp.c | 77 stat = srtp_protect(sender->srtp_ctx, &sender->message.header, &pkt_len); in rtp_sendto() 129 stat = srtp_unprotect(receiver->srtp_ctx, &receiver->message.header, in rtp_recvfrom() 193 return srtp_create(&sender->srtp_ctx, policy); in rtp_sender_init_srtp() 198 return srtp_dealloc(sender->srtp_ctx); in rtp_sender_deinit_srtp() 203 return srtp_create(&sender->srtp_ctx, policy); in rtp_receiver_init_srtp() 208 return srtp_dealloc(sender->srtp_ctx); in rtp_receiver_deinit_srtp()
|
D | rtp.h | 88 srtp_ctx_t *srtp_ctx; member 95 srtp_ctx_t *srtp_ctx; member
|
D | rtp_decoder.c | 637 if (decoder->srtp_ctx) { in rtp_decoder_deinit() 638 return srtp_dealloc(decoder->srtp_ctx); in rtp_decoder_deinit() 648 dcdr->srtp_ctx = NULL; in rtp_decoder_init() 659 if (srtp_create(&dcdr->srtp_ctx, &dcdr->policy)) { in rtp_decoder_init() 732 status = srtp_unprotect(dcdr->srtp_ctx, &message, &octets_recvd); in rtp_decoder_handle_pkt() 739 status = srtp_unprotect_rtcp(dcdr->srtp_ctx, &message, &octets_recvd); in rtp_decoder_handle_pkt()
|
D | rtp_decoder.h | 63 srtp_ctx_t *srtp_ctx; member
|