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

Issue 10917308: Remove the checksum/HMAC code from the decryptor. (Closed)

Created:
8 years, 3 months ago by fgalligan1
Modified:
8 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

We are removing checksum/HMAC in WebM spec for encrypted content. xhwang's CL http://codereview.chromium.org/10918276 has been merged into this one. 10918276 CL updates the CDM interface, ClearKeyCdm, CdmWrapper and PPAPI code to reflect this change. - Remove checksum from DecryptConfig. - Remove HMAC from AesDecryptor. - Update AesDecryptorTest as all decrypts will not fail but the data checks will. - Remove FakeCheckSum from ffmpeg_video_decoder_unittest. - Remove HMAC from WebMClusterParser. - Remove checksum from ppapi_plugin_instance. BUG=150014 TEST=All media_unittests pass. TBR=dmichael Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157322

Patch Set 1 #

Total comments: 13

Patch Set 2 : Fix clearkeycdmplugin and enable EncryptedPlayback test. #

Patch Set 3 : Addressing comments. #

Patch Set 4 : Update mp4 parsing code. #

Patch Set 5 : Fix proxy_decryptor_unittest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -254 lines) Patch
M media/base/decrypt_config.h View 3 chunks +4 lines, -11 lines 0 comments Download
M media/base/decrypt_config.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M media/crypto/aes_decryptor.h View 1 2 2 chunks +9 lines, -23 lines 0 comments Download
M media/crypto/aes_decryptor.cc View 5 chunks +1 line, -98 lines 0 comments Download
M media/crypto/aes_decryptor_unittest.cc View 1 2 16 chunks +79 lines, -67 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M media/mp4/mp4_stream_parser.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M media/mp4/track_run_iterator.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M media/webm/webm_cluster_parser.cc View 1 2 1 chunk +10 lines, -14 lines 0 comments Download
M media/webm/webm_constants.h View 1 chunk +1 line, -3 lines 0 comments Download
M ppapi/api/private/pp_content_decryptor.idl View 1 2 chunks +1 line, -7 lines 0 comments Download
M ppapi/c/private/pp_content_decryptor.h View 1 2 chunks +2 lines, -7 lines 0 comments Download
M webkit/media/crypto/ppapi/cdm_wrapper.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/media/crypto/ppapi/content_decryption_module.h View 1 2 chunks +0 lines, -5 lines 0 comments Download
M webkit/media/crypto/proxy_decryptor_unittest.cc View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
xhwang
Comments for patch set 1. http://codereview.chromium.org/10917308/diff/1/media/crypto/aes_decryptor.h File media/crypto/aes_decryptor.h (right): http://codereview.chromium.org/10917308/diff/1/media/crypto/aes_decryptor.h#newcode57 media/crypto/aes_decryptor.h:57: class DecryptionKey { Do ...
8 years, 3 months ago (2012-09-18 00:37:11 UTC) #1
fgalligan1
https://codereview.chromium.org/10917308/diff/1/media/crypto/aes_decryptor.h File media/crypto/aes_decryptor.h (right): https://codereview.chromium.org/10917308/diff/1/media/crypto/aes_decryptor.h#newcode57 media/crypto/aes_decryptor.h:57: class DecryptionKey { On 2012/09/18 00:37:11, xhwang wrote: > ...
8 years, 3 months ago (2012-09-18 01:11:36 UTC) #2
xhwang
You also need to change the mp4 parser, eg mp4_stream_parser.cc:416 and track_run_iterator.cc:442. http://codereview.chromium.org/10917308/diff/1/media/crypto/aes_decryptor_unittest.cc File media/crypto/aes_decryptor_unittest.cc ...
8 years, 3 months ago (2012-09-18 01:22:42 UTC) #3
fgalligan1
On 2012/09/18 01:22:42, xhwang wrote: > You also need to change the mp4 parser, eg ...
8 years, 3 months ago (2012-09-18 01:35:35 UTC) #4
xhwang
lgtm
8 years, 3 months ago (2012-09-18 02:00:06 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/10917308/22001
8 years, 3 months ago (2012-09-18 04:40:11 UTC) #6
commit-bot: I haz the power
Presubmit check for 10917308-22001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-09-18 04:40:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fgalligan@chromium.org/10917308/22001
8 years, 3 months ago (2012-09-18 04:43:49 UTC) #8
commit-bot: I haz the power
8 years, 3 months ago (2012-09-18 09:00:37 UTC) #9
Change committed as 157322

Powered by Google App Engine
This is Rietveld 408576698