Home
last modified time | relevance | path

Searched refs:num_master_keys (Results 1 – 5 of 5) sorted by relevance

/external/libsrtp2/fuzzer/
Dfuzzer.c350 unsigned long *num_master_keys) in extract_master_keys() argument
358 *num_master_keys = 0; in extract_master_keys()
381 (*num_master_keys)++; in extract_master_keys()
389 ret = fuzz_alloc_succeed(*num_master_keys * sizeof(srtp_master_key_t *), in extract_master_keys()
393 for (i = 0; i < *num_master_keys; i++) { in extract_master_keys()
504 data, size, policy->rtp.cipher_key_len, &policy->num_master_keys); in extract_policy()
625 for (i = 0; i < curpolicy->num_master_keys; i++) { in free_policies()
/external/libsrtp2/srtp/
Dsrtp.c166 for (i = 0; i < stream->num_master_keys; i++) { in srtp_stream_dealloc()
170 stream->num_master_keys == stream_template->num_master_keys) { in srtp_stream_dealloc()
312 str->num_master_keys = 1; in srtp_stream_alloc()
314 str->num_master_keys = p->num_master_keys; in srtp_stream_alloc()
318 sizeof(srtp_session_keys_t) * str->num_master_keys); in srtp_stream_alloc()
325 for (i = 0; i < str->num_master_keys; i++) { in srtp_stream_alloc()
418 for (i = 0; i < str->num_master_keys; i++) { in srtp_stream_alloc()
431 for (i = 0; i < str->num_master_keys; i++) { in srtp_stream_alloc()
469 str->num_master_keys = stream_template->num_master_keys; in srtp_stream_clone()
471 sizeof(srtp_session_keys_t) * str->num_master_keys); in srtp_stream_clone()
[all …]
/external/libsrtp2/include/
Dsrtp_priv.h143 unsigned int num_master_keys; member
Dsrtp.h331 unsigned long num_master_keys; /** Number of master keys */ member
/external/libsrtp2/test/
Dsrtp_driver.c2816 policy_mki.num_master_keys = 2; in srtp_test_setup_protect_trailer_streams()
2839 policy_aes_gcm_mki.num_master_keys = 2; in srtp_test_setup_protect_trailer_streams()