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

Issue 2162303002: [webcrypto] Add support for import/export of "raw" formatted EC keys. (Closed)

Created:
4 years, 5 months ago by eroman
Modified:
4 years, 4 months ago
Reviewers:
Ryan Sleevi, davidben
CC:
chromium-reviews, blink-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@usage_order
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[webcrypto] Add support for import/export of "raw" formatted EC keys. BUG=437576 Committed: https://crrev.com/cfcb6c9fda6465b5c12ca3d71f8e13b07e233abd Cr-Commit-Position: refs/heads/master@{#411480}

Patch Set 1 #

Patch Set 2 : rebase (and git cl format the fuzzer) #

Patch Set 3 : rebase #

Total comments: 8

Patch Set 4 : rebase onto master #

Patch Set 5 : address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -2 lines) Patch
M components/webcrypto/BUILD.gn View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M components/webcrypto/algorithms/ec.h View 2 chunks +9 lines, -0 lines 0 comments Download
M components/webcrypto/algorithms/ec.cc View 1 2 3 4 5 chunks +87 lines, -0 lines 0 comments Download
A + components/webcrypto/ec_import_key_raw_fuzzer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/webcrypto/fuzzer_support.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/webcrypto/fuzzer_support.cc View 1 chunk +46 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/crypto/subtle/ecdh/import-export-raw.html View 1 chunk +62 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/crypto/subtle/ecdh/import-export-raw-expected.txt View 1 chunk +27 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 29 (20 generated)
eroman
4 years, 5 months ago (2016-07-20 05:14:30 UTC) #6
eroman
https://codereview.chromium.org/2162303002/diff/40001/components/webcrypto/algorithms/ec.cc File components/webcrypto/algorithms/ec.cc (right): https://codereview.chromium.org/2162303002/diff/40001/components/webcrypto/algorithms/ec.cc#newcode338 components/webcrypto/algorithms/ec.cc:338: Status status = CheckKeyCreationUsages(all_public_key_usages_, usages); For the record, technically ...
4 years, 4 months ago (2016-08-03 17:09:06 UTC) #11
eroman
ping
4 years, 4 months ago (2016-08-10 21:11:52 UTC) #16
Ryan Sleevi
LGTM, if David can double check the specific point manipulation for BoringSSL https://codereview.chromium.org/2162303002/diff/40001/components/webcrypto/algorithms/ec.cc File components/webcrypto/algorithms/ec.cc ...
4 years, 4 months ago (2016-08-11 19:47:07 UTC) #18
davidben
BoringSSL bits lgtm https://codereview.chromium.org/2162303002/diff/40001/components/webcrypto/algorithms/ec.cc File components/webcrypto/algorithms/ec.cc (right): https://codereview.chromium.org/2162303002/diff/40001/components/webcrypto/algorithms/ec.cc#newcode371 components/webcrypto/algorithms/ec.cc:371: if (!pkey || !EVP_PKEY_set1_EC_KEY(pkey.get(), ec.get())) [We ...
4 years, 4 months ago (2016-08-11 19:51:30 UTC) #19
eroman
Thanks for the review! https://codereview.chromium.org/2162303002/diff/40001/components/webcrypto/algorithms/ec.cc File components/webcrypto/algorithms/ec.cc (right): https://codereview.chromium.org/2162303002/diff/40001/components/webcrypto/algorithms/ec.cc#newcode357 components/webcrypto/algorithms/ec.cc:357: key_data.bytes(), key_data.byte_length(), NULL)) { On ...
4 years, 4 months ago (2016-08-11 21:01:09 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2162303002/80001
4 years, 4 months ago (2016-08-11 22:13:29 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-12 00:34:03 UTC) #27
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 00:35:25 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cfcb6c9fda6465b5c12ca3d71f8e13b07e233abd
Cr-Commit-Position: refs/heads/master@{#411480}

Powered by Google App Engine
This is Rietveld 408576698