Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Issue 62843002: Cast: Added support for AES-CTR crypto. (Closed)

Created:
7 years, 1 month ago by pwestin
Modified:
7 years, 1 month ago
Reviewers:
wtc, Alpha Left Google
CC:
chromium-reviews, feature-media-reviews_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Cast: Added support for AES-CTR crypto. Full audio and video frames can now be encrypted decrypted within cast. Since AES-CTR mode is used there is no need for padding. BUG=315931 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235864

Patch Set 1 #

Patch Set 2 : Fixed nits #

Total comments: 46

Patch Set 3 : Addressed comments #

Total comments: 14

Patch Set 4 : Addressed comments #

Total comments: 50

Patch Set 5 : Fixes #

Total comments: 10

Patch Set 6 : Fixed video files #

Patch Set 7 : Addressed wtc@ comments #

Patch Set 8 : Merge TOT #

Patch Set 9 : Sync TOT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+437 lines, -40 lines) Patch
M media/cast/DEPS View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/audio_receiver/audio_receiver.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver.cc View 1 2 3 4 5 6 7 8 6 chunks +62 lines, -2 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver.gypi View 2 chunks +3 lines, -2 lines 0 comments Download
M media/cast/audio_sender/audio_encoder.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
M media/cast/audio_sender/audio_sender.h View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -0 lines 0 comments Download
M media/cast/audio_sender/audio_sender.cc View 1 2 3 4 5 6 7 8 4 chunks +52 lines, -2 lines 0 comments Download
M media/cast/audio_sender/audio_sender.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/cast.gyp View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M media/cast/cast_config.h View 1 2 3 4 5 6 7 6 chunks +14 lines, -3 lines 0 comments Download
M media/cast/cast_defines.h View 1 2 3 4 5 6 7 2 chunks +19 lines, -0 lines 0 comments Download
M media/cast/cast_receiver.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M media/cast/cast_sender.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/framer/frame_buffer.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/rtp_sender/rtp_packetizer/rtp_packetizer.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -4 lines 0 comments Download
M media/cast/rtp_sender/rtp_packetizer/rtp_packetizer.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
A + media/cast/test/crypto_utility.h View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
A media/cast/test/crypto_utility.cc View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 2 3 4 5 6 7 3 chunks +91 lines, -2 lines 0 comments Download
M media/cast/video_receiver/codecs/vp8/vp8_decoder.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -5 lines 0 comments Download
M media/cast/video_receiver/video_receiver.h View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -2 lines 0 comments Download
media/cast/video_receiver/video_receiver.cc View 1 2 3 4 5 6 7 8 5 chunks +47 lines, -0 lines 0 comments Download
M media/cast/video_receiver/video_receiver.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/video_sender/video_sender.h View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -0 lines 0 comments Download
M media/cast/video_sender/video_sender.cc View 1 2 3 4 5 6 7 8 3 chunks +49 lines, -1 line 0 comments Download
M media/cast/video_sender/video_sender.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
pwestin
pleas review
7 years, 1 month ago (2013-11-06 19:28:35 UTC) #1
Alpha Left Google
Can you also add a BUG=315931 to the CL description. I'm going to review this. ...
7 years, 1 month ago (2013-11-07 00:33:52 UTC) #2
pwestin
Added bug and added crypto owner.
7 years, 1 month ago (2013-11-07 00:37:06 UTC) #3
wtc
Patch set 2 LGTM. I only reviewed media/cast/DEPS and the first .cc file in the ...
7 years, 1 month ago (2013-11-07 01:00:35 UTC) #4
wtc
On 2013/11/07 01:00:35, wtc wrote: > > I assume how AES CTR mode is used ...
7 years, 1 month ago (2013-11-07 01:07:52 UTC) #5
Alpha Left Google
Let me go over high level / design first. wtc: Please look at the encryption ...
7 years, 1 month ago (2013-11-07 01:10:10 UTC) #6
pwestin
PTAL https://codereview.chromium.org/62843002/diff/30001/media/cast/DEPS File media/cast/DEPS (right): https://codereview.chromium.org/62843002/diff/30001/media/cast/DEPS#newcode2 media/cast/DEPS:2: "+crypto", On 2013/11/07 00:33:52, Alpha wrote: > I ...
7 years, 1 month ago (2013-11-07 17:16:04 UTC) #7
Alpha Left Google
https://codereview.chromium.org/62843002/diff/180001/media/cast/audio_receiver/audio_receiver.cc File media/cast/audio_receiver/audio_receiver.cc (right): https://codereview.chromium.org/62843002/diff/180001/media/cast/audio_receiver/audio_receiver.cc#newcode111 media/cast/audio_receiver/audio_receiver.cc:111: audio_config.aes_iv_mask.size() != 0) { Do you mean audio_config.aes_key.size() here? ...
7 years, 1 month ago (2013-11-08 22:40:01 UTC) #8
pwestin
PTAL https://codereview.chromium.org/62843002/diff/180001/media/cast/audio_receiver/audio_receiver.cc File media/cast/audio_receiver/audio_receiver.cc (right): https://codereview.chromium.org/62843002/diff/180001/media/cast/audio_receiver/audio_receiver.cc#newcode111 media/cast/audio_receiver/audio_receiver.cc:111: audio_config.aes_iv_mask.size() != 0) { On 2013/11/08 22:40:02, Alpha ...
7 years, 1 month ago (2013-11-12 22:07:22 UTC) #9
Alpha Left Google
I don't have any more comments now. I think wtc@ should look at the usage ...
7 years, 1 month ago (2013-11-13 20:56:54 UTC) #10
wtc
Patch set 4 LGTM. High-level comments: 1. IMPORTANT: the uint8 frame_id member of EncodedAudioFrame and ...
7 years, 1 month ago (2013-11-13 20:57:17 UTC) #11
pwestin
PTAL Frame id is changed to 32 bit is another cl (already landed). https://codereview.chromium.org/62843002/diff/260001/media/cast/audio_receiver/audio_receiver.cc File ...
7 years, 1 month ago (2013-11-15 19:38:16 UTC) #12
pwestin
WTC@ It was deiced that we did not need authentication in this first release. Hence ...
7 years, 1 month ago (2013-11-15 19:42:47 UTC) #13
pwestin
s/deiced/decided
7 years, 1 month ago (2013-11-15 19:43:54 UTC) #14
wtc
Patch set 5 LGTM: Re: "It was decided that we did not need authentication in ...
7 years, 1 month ago (2013-11-15 20:13:36 UTC) #15
pwestin
PTAL Wtc@ shared a doc with you offline https://codereview.chromium.org/62843002/diff/430001/media/cast/audio_receiver/audio_receiver.cc File media/cast/audio_receiver/audio_receiver.cc (right): https://codereview.chromium.org/62843002/diff/430001/media/cast/audio_receiver/audio_receiver.cc#newcode153 media/cast/audio_receiver/audio_receiver.cc:153: payload_size); ...
7 years, 1 month ago (2013-11-15 22:11:10 UTC) #16
wtc
Patch set 7 LGTM.
7 years, 1 month ago (2013-11-16 00:34:36 UTC) #17
Alpha Left Google
LGTM now wtc has approved.
7 years, 1 month ago (2013-11-16 00:36:37 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pwestin@google.com/62843002/1020001
7 years, 1 month ago (2013-11-18 21:39:45 UTC) #19
commit-bot: I haz the power
7 years, 1 month ago (2013-11-19 01:02:59 UTC) #20
Message was sent while issue was closed.
Change committed as 235864

Powered by Google App Engine
This is Rietveld 408576698