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

Issue 10823110: Add support for v0.3 of the encrypted WebM specification. (Closed)

Created:
8 years, 4 months ago by fgalligan1
Modified:
8 years, 4 months ago
Reviewers:
xhwang
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Add support for v0.3 of the encrypted WebM specification. - Added code to handle the signal_byte contained within WebM encrypted Blocks. - Added a unittest to aes_decryptor to hanlde an encrypted WebM Block with an unencrypted frame. BUG=139876 TEST=Run media_unittests --gtest_filter=AesDecryptor* and all tests must pass. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149449

Patch Set 1 #

Patch Set 2 : Added comments and a Check. #

Patch Set 3 : Fixed the Check value. #

Total comments: 22

Patch Set 4 : Addressing comments from Patch Set 3. #

Total comments: 4

Patch Set 5 : Addressing comments from Patch Set 4. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -85 lines) Patch
M media/base/decrypt_config.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M media/base/decrypt_config.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M media/crypto/aes_decryptor.cc View 1 2 3 1 chunk +18 lines, -11 lines 0 comments Download
M media/crypto/aes_decryptor_unittest.cc View 1 2 3 4 7 chunks +85 lines, -43 lines 0 comments Download
M media/webm/webm_cluster_parser.cc View 1 2 3 4 3 chunks +32 lines, -29 lines 0 comments Download
M media/webm/webm_constants.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
xhwang
Looks pretty good. Just some naming/style related comments. http://codereview.chromium.org/10823110/diff/2003/media/base/decrypt_config.cc File media/base/decrypt_config.cc (right): http://codereview.chromium.org/10823110/diff/2003/media/base/decrypt_config.cc#newcode24 media/base/decrypt_config.cc:24: iv.empty(), ...
8 years, 4 months ago (2012-08-01 00:45:41 UTC) #1
fgalligan1
https://chromiumcodereview.appspot.com/10823110/diff/2003/media/base/decrypt_config.cc File media/base/decrypt_config.cc (right): https://chromiumcodereview.appspot.com/10823110/diff/2003/media/base/decrypt_config.cc#newcode24 media/base/decrypt_config.cc:24: iv.empty(), true); On 2012/08/01 00:45:41, xhwang wrote: > CHECK(iv.empty() ...
8 years, 4 months ago (2012-08-01 01:36:10 UTC) #2
xhwang
Thanks! LGTM w/ nits. http://codereview.chromium.org/10823110/diff/5003/media/crypto/aes_decryptor_unittest.cc File media/crypto/aes_decryptor_unittest.cc (right): http://codereview.chromium.org/10823110/diff/5003/media/crypto/aes_decryptor_unittest.cc#newcode241 media/crypto/aes_decryptor_unittest.cc:241: uint8 signal_byte = data[kWebMHmacSize]; Move ...
8 years, 4 months ago (2012-08-01 04:38:23 UTC) #3
fgalligan1
https://chromiumcodereview.appspot.com/10823110/diff/5003/media/crypto/aes_decryptor_unittest.cc File media/crypto/aes_decryptor_unittest.cc (right): https://chromiumcodereview.appspot.com/10823110/diff/5003/media/crypto/aes_decryptor_unittest.cc#newcode241 media/crypto/aes_decryptor_unittest.cc:241: uint8 signal_byte = data[kWebMHmacSize]; On 2012/08/01 04:38:23, xhwang wrote: ...
8 years, 4 months ago (2012-08-01 15:07:38 UTC) #4
xhwang
lgtm
8 years, 4 months ago (2012-08-01 15:46:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fgalligan@chromium.org/10823110/3006
8 years, 4 months ago (2012-08-01 16:50:47 UTC) #6
commit-bot: I haz the power
8 years, 4 months ago (2012-08-01 18:29:41 UTC) #7
Change committed as 149449

Powered by Google App Engine
This is Rietveld 408576698