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

Issue 1935053003: Add PKCS#8 ECPrivateKey export/import functions. (Closed)

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

Description

Add PKCS#8 ECPrivateKey export/import functions. Also const-correct a few functions and add some missing error tracers. Deprecate the old ones. Also const-correct a few functions and add some missing error tracers. Future work migrate existing serializations to the new format. BUG=603319 Committed: https://crrev.com/212cdf69ab10af4d04cb12919b5c6504e54f73cc Cr-Commit-Position: refs/heads/master@{#398318}

Patch Set 1 #

Patch Set 2 : tweak comment #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : fix build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -101 lines) Patch
M crypto/ec_private_key.h View 3 chunks +19 lines, -7 lines 0 comments Download
M crypto/ec_private_key.cc View 1 2 3 5 chunks +38 lines, -23 lines 0 comments Download
M crypto/ec_private_key_unittest.cc View 1 2 2 chunks +165 lines, -67 lines 0 comments Download
M crypto/rsa_private_key.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M net/spdy/spdy_test_util_common.cc View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (3 generated)
davidben
Let's get these in there so new code doesn't use the "encrypted" nonsense. https://codereview.chromium.org/1935053003/diff/20001/crypto/ec_private_key_unittest.cc File ...
4 years, 7 months ago (2016-05-02 23:18:54 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/1935053003/diff/20001/crypto/ec_private_key.cc File crypto/ec_private_key.cc (right): https://codereview.chromium.org/1935053003/diff/20001/crypto/ec_private_key.cc#newcode107 crypto/ec_private_key.cc:107: NID_X9_62_prime256v1) { Why? We don't enforce this elsewhere, AFAICT. ...
4 years, 7 months ago (2016-05-02 23:26:56 UTC) #3
davidben
https://codereview.chromium.org/1935053003/diff/20001/crypto/ec_private_key.cc File crypto/ec_private_key.cc (right): https://codereview.chromium.org/1935053003/diff/20001/crypto/ec_private_key.cc#newcode107 crypto/ec_private_key.cc:107: NID_X9_62_prime256v1) { On 2016/05/02 23:26:56, Ryan Sleevi (OOO til ...
4 years, 6 months ago (2016-06-01 17:19:39 UTC) #4
davidben
https://codereview.chromium.org/1935053003/diff/20001/crypto/ec_private_key.cc File crypto/ec_private_key.cc (right): https://codereview.chromium.org/1935053003/diff/20001/crypto/ec_private_key.cc#newcode107 crypto/ec_private_key.cc:107: NID_X9_62_prime256v1) { On 2016/06/01 17:19:39, davidben (OOO until 5-31) ...
4 years, 6 months ago (2016-06-01 17:19:58 UTC) #5
Ryan Sleevi
Lots of red bots - some dependencies to fix up?
4 years, 6 months ago (2016-06-07 12:05:10 UTC) #6
davidben
On 2016/06/07 12:05:10, Ryan Sleevi wrote: > Lots of red bots - some dependencies to ...
4 years, 6 months ago (2016-06-07 15:46:45 UTC) #7
Ryan Sleevi
lgtm
4 years, 6 months ago (2016-06-07 16:25:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1935053003/80001
4 years, 6 months ago (2016-06-07 16:32:12 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-07 17:11:24 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 17:14:06 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/212cdf69ab10af4d04cb12919b5c6504e54f73cc
Cr-Commit-Position: refs/heads/master@{#398318}

Powered by Google App Engine
This is Rietveld 408576698