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

Issue 10824136: Add support for v0.3 of the encrypted WebM specification. (Revert Fix) (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. (Revert Fix) - Fixed HmacCheckFailure from aes_decryptor_unittest.cc that was causing a failure on the ASAN bots. - Added code to handle the signal_byte contained within WebM encrypted Blocks. - Added a unittest to aes_decryptor to handle an encrypted WebM Block with an unencrypted frame. - Added two unittests to aes_decryptor to try an encrypted WebM frame as an unencrypted frame and an unencrypted WebM frame as an encrypted frame. Revert "Revert 149449 - Add support for v0.3 of the encrypted WebM specification." This reverts commit 672f667ed68e59ec0aaf5c40167e890673ef3f7c. BUG=139876 TEST=Run media_unittests --gtest_filter=AesDecryptor* and all tests must pass. media_unittests must pass on linux_asan and mac_asan. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149696

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressing comments from Patch Set 1. #

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

Patch Set 4 : Rebase. #

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

Messages

Total messages: 7 (0 generated)
xhwang
LGTM w/ nits. http://codereview.chromium.org/10824136/diff/1/media/crypto/aes_decryptor_unittest.cc File media/crypto/aes_decryptor_unittest.cc (right): http://codereview.chromium.org/10824136/diff/1/media/crypto/aes_decryptor_unittest.cc#newcode339 media/crypto/aes_decryptor_unittest.cc:339: wrong_key[0]++; nit: I feel we have ...
8 years, 4 months ago (2012-08-01 23:15:39 UTC) #1
fgalligan1
https://chromiumcodereview.appspot.com/10824136/diff/1/media/crypto/aes_decryptor_unittest.cc File media/crypto/aes_decryptor_unittest.cc (right): https://chromiumcodereview.appspot.com/10824136/diff/1/media/crypto/aes_decryptor_unittest.cc#newcode339 media/crypto/aes_decryptor_unittest.cc:339: wrong_key[0]++; On 2012/08/01 23:15:39, xhwang wrote: > nit: I ...
8 years, 4 months ago (2012-08-01 23:49:58 UTC) #2
xhwang
http://codereview.chromium.org/10824136/diff/1/media/crypto/aes_decryptor_unittest.cc File media/crypto/aes_decryptor_unittest.cc (right): http://codereview.chromium.org/10824136/diff/1/media/crypto/aes_decryptor_unittest.cc#newcode339 media/crypto/aes_decryptor_unittest.cc:339: wrong_key[0]++; On 2012/08/01 23:49:58, fgalligan1 wrote: > On 2012/08/01 ...
8 years, 4 months ago (2012-08-02 00:00:22 UTC) #3
fgalligan1
https://chromiumcodereview.appspot.com/10824136/diff/1/media/crypto/aes_decryptor_unittest.cc File media/crypto/aes_decryptor_unittest.cc (right): https://chromiumcodereview.appspot.com/10824136/diff/1/media/crypto/aes_decryptor_unittest.cc#newcode339 media/crypto/aes_decryptor_unittest.cc:339: wrong_key[0]++; On 2012/08/02 00:00:22, xhwang wrote: > On 2012/08/01 ...
8 years, 4 months ago (2012-08-02 00:13:30 UTC) #4
xhwang
lgtm
8 years, 4 months ago (2012-08-02 00:15:01 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/10824136/6011
8 years, 4 months ago (2012-08-02 19:24:39 UTC) #6
commit-bot: I haz the power
8 years, 4 months ago (2012-08-02 20:57:41 UTC) #7
Change committed as 149696

Powered by Google App Engine
This is Rietveld 408576698