|
Convert internal representation of Srtp cryptos from string to int.
Note that the coversion from int to string happens in 3 places
1) SDP layer from int to external names. mediasession.cc GetSupportedSuiteNames.
2) for SSL_CTX_set_tlsext_use_srtp(), converting from int to internal names.
3) stats collection also needs external names.
External names are like AES_CM_128_HMAC_SHA1_80, specified in sslstreamadapter.cc.
Internal names are like SRTP_AES128_CM_SHA1_80, specified in opensslstreamadapter.cc.
The conversion from string to int happens in one place only, SDP layer, SrtpFilter::ApplyParams().
BUG= webrtc:5043
Committed: https://crrev.com/2764e1027a08a5543e04b854a27a520801faf6eb
Cr-Commit-Position: refs/heads/master@{#10701}
Total comments: 36
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+384 lines, -348 lines) |
Patch |
|
M |
talk/app/webrtc/peerconnection_unittest.cc
|
View
|
1
2
3
|
9 chunks |
+21 lines, -21 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/statscollector.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+11 lines, -8 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/statscollector_unittest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+20 lines, -23 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/webrtcsession.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
talk/media/base/cryptoparams.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
talk/session/media/channel.h
|
View
|
1
2
3
|
5 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
talk/session/media/channel.cc
|
View
|
1
2
3
7
8
9
|
7 chunks |
+26 lines, -35 lines |
0 comments
|
Download
|
|
M |
talk/session/media/mediasession.h
|
View
|
1
2
3
7
8
9
|
1 chunk |
+13 lines, -4 lines |
0 comments
|
Download
|
|
M |
talk/session/media/mediasession.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+46 lines, -15 lines |
0 comments
|
Download
|
|
M |
talk/session/media/srtpfilter.h
|
View
|
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
talk/session/media/srtpfilter.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+16 lines, -17 lines |
0 comments
|
Download
|
|
M |
talk/session/media/srtpfilter_unittest.cc
|
View
|
|
10 chunks |
+46 lines, -56 lines |
0 comments
|
Download
|
|
M |
webrtc/base/opensslstreamadapter.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/base/opensslstreamadapter.cc
|
View
|
1
2
3
|
8 chunks |
+21 lines, -27 lines |
0 comments
|
Download
|
|
M |
webrtc/base/sslstreamadapter.h
|
View
|
1
2
3
4
5
6
|
5 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
|
M |
webrtc/base/sslstreamadapter.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+18 lines, -10 lines |
0 comments
|
Download
|
|
M |
webrtc/base/sslstreamadapter_unittest.cc
|
View
|
1
|
3 chunks |
+44 lines, -47 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/dtlstransportchannel.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/dtlstransportchannel.cc
|
View
|
1
|
4 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/dtlstransportchannel_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/faketransportcontroller.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/p2ptransportchannel.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/transport.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/transport.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/transportchannel.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/transportchannel.cc
|
View
|
1
2
3
4
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
Total messages: 36 (18 generated)
|