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

Issue 200763005: Support for the new WebCrypto digest by chunks API. (Closed)

Created:
6 years, 9 months ago by jww
Modified:
6 years, 8 months ago
Reviewers:
eroman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Support for the new WebCrypto digest by chunks API. This provides the implementation for the WebCrypto sychronous digest by chunk APIs. This is in addition to the current one-time digest functions. BUG=349514 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260756

Patch Set 1 #

Patch Set 2 : Updated to match API's new Digestor #

Patch Set 3 : Got platform_crypto up to spec with the new WebCryptoDigestor #

Patch Set 4 : Formatting #

Patch Set 5 : Updated to latest WebCrypto API changes #

Total comments: 35

Patch Set 6 : Many fixes from eroman #

Patch Set 7 : Updated return param of FinishWithWebArrayAndStatus #

Total comments: 10

Patch Set 8 : Rebase on ToT and nit fixes #

Patch Set 9 : Removed 'const' from args #

Patch Set 10 : Get rid of C++11 function call #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -59 lines) Patch
M content/child/webcrypto/platform_crypto.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M content/child/webcrypto/platform_crypto_nss.cc View 1 2 3 4 5 6 7 8 3 chunks +98 lines, -26 lines 0 comments Download
M content/child/webcrypto/platform_crypto_openssl.cc View 1 2 3 4 5 6 7 3 chunks +98 lines, -33 lines 0 comments Download
M content/child/webcrypto/shared_crypto.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M content/child/webcrypto/shared_crypto.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M content/child/webcrypto/shared_crypto_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +38 lines, -0 lines 0 comments Download
M content/child/webcrypto/webcrypto_impl.h View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M content/child/webcrypto/webcrypto_impl.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M content/test/data/webcrypto/digest.json View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
jww
This is the Chromium-side counterpart to https://codereview.chromium.org/195983024/.
6 years, 9 months ago (2014-03-14 23:01:00 UTC) #1
eroman
Will hammer out the blink side (API) before reviewing the implementation details. Cheers
6 years, 9 months ago (2014-03-14 23:34:04 UTC) #2
jww
On 2014/03/14 23:34:04, eroman wrote: > Will hammer out the blink side (API) before reviewing ...
6 years, 9 months ago (2014-03-25 21:46:06 UTC) #3
eroman
This is looking pretty good! Thanks for the new tests. Just a few comments, then ...
6 years, 9 months ago (2014-03-25 23:26:23 UTC) #4
jww
https://codereview.chromium.org/200763005/diff/80001/content/child/webcrypto/platform_crypto.h File content/child/webcrypto/platform_crypto.h (right): https://codereview.chromium.org/200763005/diff/80001/content/child/webcrypto/platform_crypto.h#newcode94 content/child/webcrypto/platform_crypto.h:94: blink::WebCryptoDigestor* CreateDigestor( On 2014/03/25 23:26:23, eroman wrote: > * ...
6 years, 9 months ago (2014-03-26 00:42:31 UTC) #5
eroman
https://codereview.chromium.org/200763005/diff/80001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/200763005/diff/80001/content/child/webcrypto/platform_crypto_nss.cc#newcode697 content/child/webcrypto/platform_crypto_nss.cc:697: Status finishWithWebArrayAndStatus(blink::WebArrayBuffer& result) { On 2014/03/26 00:42:31, jww wrote: ...
6 years, 9 months ago (2014-03-26 00:49:08 UTC) #6
eroman
https://codereview.chromium.org/200763005/diff/80001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/200763005/diff/80001/content/child/webcrypto/platform_crypto_nss.cc#newcode697 content/child/webcrypto/platform_crypto_nss.cc:697: Status finishWithWebArrayAndStatus(blink::WebArrayBuffer& result) { On 2014/03/26 00:49:08, eroman wrote: ...
6 years, 9 months ago (2014-03-26 00:50:12 UTC) #7
jww
On 2014/03/26 00:50:12, eroman wrote: > https://codereview.chromium.org/200763005/diff/80001/content/child/webcrypto/platform_crypto_nss.cc > File content/child/webcrypto/platform_crypto_nss.cc (right): > > https://codereview.chromium.org/200763005/diff/80001/content/child/webcrypto/platform_crypto_nss.cc#newcode697 > ...
6 years, 9 months ago (2014-03-26 00:57:24 UTC) #8
eroman
patchset 7 LGTM after these comments https://codereview.chromium.org/200763005/diff/240001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/200763005/diff/240001/content/child/webcrypto/platform_crypto_nss.cc#newcode663 content/child/webcrypto/platform_crypto_nss.cc:663: virtual ~DigestorNSS() OVERRIDE ...
6 years, 9 months ago (2014-03-26 01:43:54 UTC) #9
jww
https://codereview.chromium.org/200763005/diff/240001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/200763005/diff/240001/content/child/webcrypto/platform_crypto_nss.cc#newcode663 content/child/webcrypto/platform_crypto_nss.cc:663: virtual ~DigestorNSS() OVERRIDE { On 2014/03/26 01:43:54, eroman wrote: ...
6 years, 9 months ago (2014-03-26 18:49:40 UTC) #10
jww
The CQ bit was checked by jww@chromium.org
6 years, 9 months ago (2014-03-26 18:49:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/200763005/320001
6 years, 9 months ago (2014-03-26 18:52:04 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 19:24:11 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_compile_dbg
6 years, 9 months ago (2014-03-26 19:24:11 UTC) #14
jww
The CQ bit was checked by jww@chromium.org
6 years, 9 months ago (2014-03-27 18:13:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/200763005/320001
6 years, 9 months ago (2014-03-27 18:14:52 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 18:36:58 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_compile_dbg
6 years, 9 months ago (2014-03-27 18:36:58 UTC) #18
eroman
Failure is because you need to remove the const from createDigestor()
6 years, 9 months ago (2014-03-27 19:27:47 UTC) #19
jww
On 2014/03/27 19:27:47, eroman wrote: > Failure is because you need to remove the const ...
6 years, 8 months ago (2014-03-31 19:51:57 UTC) #20
jww
The CQ bit was checked by jww@chromium.org
6 years, 8 months ago (2014-03-31 19:52:02 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/200763005/340001
6 years, 8 months ago (2014-03-31 19:54:26 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-31 21:12:41 UTC) #23
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=128414
6 years, 8 months ago (2014-03-31 21:12:42 UTC) #24
jww
The CQ bit was checked by jww@chromium.org
6 years, 8 months ago (2014-03-31 23:32:24 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/200763005/360001
6 years, 8 months ago (2014-03-31 23:32:39 UTC) #26
commit-bot: I haz the power
6 years, 8 months ago (2014-04-01 02:31:35 UTC) #27
Message was sent while issue was closed.
Change committed as 260756

Powered by Google App Engine
This is Rietveld 408576698