Lines Matching defs:policy

1211 		const srtp_policy_t *policy)  {
1216 if ((session == NULL) || (policy == NULL) || (policy->key == NULL))
1220 status = srtp_stream_alloc(&tmp, policy);
1226 status = srtp_stream_init(tmp, policy);
1237 * if the template stream has already been set, then the policy is
1240 switch (policy->ssrc.type) {
1270 const srtp_policy_t *policy) { /* SRTP policy (list) */
1285 * loop over elements in the policy list, allocating and
1290 while (policy != NULL) {
1292 stat = srtp_add_stream(ctx, policy);
1299 /* set policy to next item in list */
1300 policy = policy->next;
1349 * the default policy - provides a convenient way for callers to use
1350 * the default security policy
1352 * this policy is that defined in the current SRTP internet draft.
1392 * note that this crypto policy is intended for SRTP, but not SRTCP
1411 * note that this crypto policy is intended for SRTP, but not SRTCP
1662 * which case we initialize the template using the EKT policy
1882 crypto_policy_set_from_profile_for_rtp(crypto_policy_t *policy,
1885 /* set SRTP policy from the SRTP profile in the key set */
1888 crypto_policy_set_aes_cm_128_hmac_sha1_80(policy);
1889 crypto_policy_set_aes_cm_128_hmac_sha1_80(policy);
1892 crypto_policy_set_aes_cm_128_hmac_sha1_32(policy);
1893 crypto_policy_set_aes_cm_128_hmac_sha1_80(policy);
1896 crypto_policy_set_null_cipher_hmac_sha1_80(policy);
1897 crypto_policy_set_null_cipher_hmac_sha1_80(policy);
1911 crypto_policy_set_from_profile_for_rtcp(crypto_policy_t *policy,
1914 /* set SRTP policy from the SRTP profile in the key set */
1917 crypto_policy_set_aes_cm_128_hmac_sha1_80(policy);
1920 crypto_policy_set_aes_cm_128_hmac_sha1_80(policy);
1923 crypto_policy_set_null_cipher_hmac_sha1_80(policy);