Home
last modified time | relevance | path

Searched refs:ekt (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/third_party/libsrtp/srtp/srtp/
Dekt.c75 ekt_octets_after_base_tag(ekt_stream_t ekt) { in ekt_octets_after_base_tag() argument
80 if (!ekt) in ekt_octets_after_base_tag()
83 switch(ekt->data->ekt_cipher_type) { in ekt_octets_after_base_tag()
175 if (stream->ekt->data->spi != in srtp_stream_init_from_ekt()
179 if (stream->ekt->data->ekt_cipher_type != EKT_CIPHER_AES_128_ECB) in srtp_stream_init_from_ekt()
188 aes_decrypt_with_raw_key((void*)master_key, &stream->ekt->data->ekt_dec_key, 16); in srtp_stream_init_from_ekt()
202 ekt_write_data(ekt_stream_t ekt, in ekt_write_data() argument
213 if (!ekt) { in ekt_write_data()
223 emk_len = ekt_octets_after_base_tag(ekt); in ekt_write_data()
224 memcpy(packet, ekt->encrypted_master_key, emk_len); in ekt_write_data()
[all …]
Dsrtp.c177 stat = ekt_alloc(&str->ekt, p->ekt); in srtp_stream_alloc()
319 str->ekt = stream_template->ekt; in srtp_stream_clone()
674 err = ekt_stream_init_from_policy(srtp->ekt, p->ekt); in srtp_stream_init()
1742 ekt_write_data(stream->ekt, auth_tag, tag_len, pkt_octet_len, in srtp_protect_rtcp()
1871 if (stream->ekt != NULL) { in srtp_unprotect_rtcp()
1926 if (stream->ekt) { in srtp_unprotect_rtcp()
1927 auth_tag -= ekt_octets_after_base_tag(stream->ekt); in srtp_unprotect_rtcp()
2015 *pkt_octet_len -= ekt_octets_after_base_tag(stream->ekt); in srtp_unprotect_rtcp()
/external/srtp/srtp/
Dekt.c75 ekt_octets_after_base_tag(ekt_stream_t ekt) { in ekt_octets_after_base_tag() argument
80 if (!ekt) in ekt_octets_after_base_tag()
83 switch(ekt->data->ekt_cipher_type) { in ekt_octets_after_base_tag()
175 if (stream->ekt->data->spi != in srtp_stream_init_from_ekt()
179 if (stream->ekt->data->ekt_cipher_type != EKT_CIPHER_AES_128_ECB) in srtp_stream_init_from_ekt()
185 aes_decrypt_with_raw_key((void*)master_key, stream->ekt->data->ekt_dec_key); in srtp_stream_init_from_ekt()
199 ekt_write_data(ekt_stream_t ekt, in ekt_write_data() argument
210 if (!ekt) { in ekt_write_data()
220 emk_len = ekt_octets_after_base_tag(ekt); in ekt_write_data()
221 memcpy(packet, ekt->encrypted_master_key, emk_len); in ekt_write_data()
[all …]
Dsrtp.c143 stat = ekt_alloc(&str->ekt, p->ekt); in srtp_stream_alloc()
275 str->ekt = stream_template->ekt; in srtp_stream_clone()
526 err = ekt_stream_init_from_policy(srtp->ekt, p->ekt); in srtp_stream_init()
1539 ekt_write_data(stream->ekt, auth_tag, tag_len, pkt_octet_len, in srtp_protect_rtcp()
1670 if (stream->ekt != NULL) { in srtp_unprotect_rtcp()
1732 if (stream->ekt) { in srtp_unprotect_rtcp()
1733 auth_tag -= ekt_octets_after_base_tag(stream->ekt); in srtp_unprotect_rtcp()
1821 *pkt_octet_len -= ekt_octets_after_base_tag(stream->ekt); in srtp_unprotect_rtcp()
/external/srtp/googlepatches/
Dvidyo-1-srtp-win.patch60 diff -purN -x CVS -x '*~' -x '.*' -x 'obj-*' srtp-pristine/srtp/ekt.c srtp/srtp/ekt.c
61 --- srtp-pristine/srtp/ekt.c 2007-06-15 14:36:09.000000000 -0400
62 +++ srtp/srtp/ekt.c 2009-04-22 18:47:06.000000000 -0400
113 - aes_decrypt_with_raw_key(master_key, stream->ekt->data->ekt_dec_key);
114 + aes_decrypt_with_raw_key((void*)master_key, stream->ekt->data->ekt_dec_key);
118 @@ -201,7 +201,7 @@ ekt_write_data(ekt_stream_t ekt,
125 /* if the pointer ekt is NULL, then EKT is not in effect */
126 if (!ekt) {
127 @@ -211,7 +211,7 @@ ekt_write_data(ekt_stream_t ekt,
135 emk_len = ekt_octets_after_base_tag(ekt);
[all …]
Dvidyo-2-srtp-lin.patch39 diff -purN -x CVS -x '*~' -x '.*' -x 'obj-*' srtp-win/srtp/ekt.c srtp/srtp/ekt.c
40 --- srtp-win/srtp/ekt.c 2009-04-22 18:47:06.000000000 -0400
41 +++ srtp/srtp/ekt.c 2009-04-22 18:50:51.000000000 -0400
42 @@ -131,6 +131,9 @@ ekt_alloc(ekt_stream_t *stream_data, ekt
59 + policy.ekt = NULL;
Dgoogle-10-srtp-ios-fixes.pack17 ... //depot/google3/third_party/libsrtp/srtp/ekt.c#3 edit
69 …t/google3/third_party/libsrtp/srtp/ekt.c#3 - /Users/seh/dev/source/gcomm_android/google3/third_par…
71 --- google3/third_party/libsrtp/srtp/ekt.c 2011-02-18 16:57:41.000000000 -0800
72 +++ google3/third_party/libsrtp/srtp/ekt.c 2011-02-18 16:51:58.000000000 -0800
Dvidyo-4-srtp-rtx.patch25 ekt_stream_t ekt;
70 policy.ekt = NULL;
100 policy.ekt = NULL;
148 policy.ekt = NULL;
Dgoogle-9-rdbx-leak-plug.patch98 /* allocate ekt data associated with stream */
99 stat = ekt_alloc(&str->ekt, p->ekt);
Dvidyo-3-srtp-ws.patch600 ekt_policy_t ekt; /**< Pointer to the EKT policy structure
646 err = ekt_stream_init_from_policy(srtp->ekt, p->ekt);
661 policy.ekt = NULL;
822 + policy.ekt = NULL;
869 + policy.ekt = NULL;
/external/srtp/include/
Dekt.h80 ekt_octets_after_base_tag(ekt_stream_t ekt);
147 ekt_write_data(ekt_stream_t ekt,
Dsrtp_priv.h229 ekt_stream_t ekt; member
Dsrtp.h220 ekt_policy_t ekt; /**< Pointer to the EKT policy structure member
/external/chromium_org/third_party/libsrtp/srtp/include/
Dekt.h80 ekt_octets_after_base_tag(ekt_stream_t ekt);
147 ekt_write_data(ekt_stream_t ekt,
Dsrtp_priv.h222 ekt_stream_t ekt; member
Dsrtp.h220 ekt_policy_t ekt; /**< Pointer to the EKT policy structure member
/external/srtp/
DAndroid.mk8 srtp/ekt.c \
/external/chromium_org/third_party/libsrtp/srtp/test/
Drtpw.c352 policy.ekt = NULL; in main()
410 policy.ekt = NULL; in main()
Ddtls_srtp_driver.c193 policy.ekt = NULL; in test_dtls_srtp()
Dsrtp_driver.c348 policy.ekt = NULL; in main()
1235 policy.ekt = NULL; in srtp_validate()
1343 policy.ekt = NULL; in srtp_validate_aes_256()
1502 policy.ekt = NULL; in srtp_test_remove_stream()
/external/srtp/test/
Ddtls_srtp_driver.c186 policy.ekt = NULL; in test_dtls_srtp()
/external/chromium_org/build/secondary/third_party/libsrtp/
DBUILD.gn81 "srtp/include/ekt.h",
119 "srtp/srtp/ekt.c",
/external/chromium_org/third_party/libsrtp/
Dlibsrtp.gyp127 'srtp/include/ekt.h',
165 'srtp/srtp/ekt.c',
Dlibsrtp.target.linux-arm64.mk25 third_party/libsrtp/srtp/srtp/ekt.c \
Dlibsrtp.target.darwin-arm64.mk25 third_party/libsrtp/srtp/srtp/ekt.c \

12