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

Issue 1217653006: Add DER parsing for rsaPss signature algorithms. (Closed)

Created:
5 years, 5 months ago by eroman
Modified:
5 years, 5 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@sign_parse_alg
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add DER parsing for rsaPss signature algorithms. BUG=410574 Committed: https://crrev.com/528dcd1e4320c6b2bb80154a07def2ab53340278 Cr-Commit-Position: refs/heads/master@{#339400}

Patch Set 1 #

Patch Set 2 : more unittests #

Patch Set 3 : remove parser changes #

Patch Set 4 : rebase #

Patch Set 5 : moare unittests #

Patch Set 6 : oops wrong cl... remove use of ReadBytesLeft() #

Patch Set 7 : undo last patchset #

Patch Set 8 : rebase #

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Patch Set 11 : moar test #

Patch Set 12 : comment fixes in unittest #

Patch Set 13 : rebase #

Total comments: 23

Patch Set 14 : address all comments except the HasMore() one #

Total comments: 3

Patch Set 15 : rebase onto factory approach #

Patch Set 16 : rebase (CreateFromDer returns scoped ptr now) #

Patch Set 17 : Rebase and address some comments #

Patch Set 18 : rebase #

Patch Set 19 : rebase and use results of "git cl format" from new clang-format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+807 lines, -1 line) Patch
M net/cert/internal/signature_algorithm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +275 lines, -1 line 0 comments Download
M net/cert/internal/signature_algorithm_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +532 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (5 generated)
eroman
Some more unit-tests are still needed for different combinations of missing/null parameters and invalid inputs, ...
5 years, 5 months ago (2015-07-01 01:11:31 UTC) #2
eroman
added more unittests
5 years, 5 months ago (2015-07-01 17:24:00 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/1217653006/diff/240001/net/cert/internal/signature_algorithm.cc File net/cert/internal/signature_algorithm.cc (right): https://codereview.chromium.org/1217653006/diff/240001/net/cert/internal/signature_algorithm.cc#newcode278 net/cert/internal/signature_algorithm.cc:278: // Parses a MaskGenAlgorithm as defined by RFC 4055. ...
5 years, 5 months ago (2015-07-06 15:03:18 UTC) #4
eroman
https://codereview.chromium.org/1217653006/diff/240001/net/cert/internal/signature_algorithm.cc File net/cert/internal/signature_algorithm.cc (right): https://codereview.chromium.org/1217653006/diff/240001/net/cert/internal/signature_algorithm.cc#newcode278 net/cert/internal/signature_algorithm.cc:278: // Parses a MaskGenAlgorithm as defined by RFC 4055. ...
5 years, 5 months ago (2015-07-07 01:24:23 UTC) #5
Ryan Sleevi
https://codereview.chromium.org/1217653006/diff/240001/net/cert/internal/signature_algorithm.cc File net/cert/internal/signature_algorithm.cc (right): https://codereview.chromium.org/1217653006/diff/240001/net/cert/internal/signature_algorithm.cc#newcode430 net/cert/internal/signature_algorithm.cc:430: if (params_parser.HasMore()) On 2015/07/07 01:24:23, eroman wrote: > On ...
5 years, 5 months ago (2015-07-07 15:27:23 UTC) #6
eroman
https://codereview.chromium.org/1217653006/diff/240001/net/cert/internal/signature_algorithm.cc File net/cert/internal/signature_algorithm.cc (right): https://codereview.chromium.org/1217653006/diff/240001/net/cert/internal/signature_algorithm.cc#newcode430 net/cert/internal/signature_algorithm.cc:430: if (params_parser.HasMore()) On 2015/07/07 15:27:23, Ryan Sleevi (slow through ...
5 years, 5 months ago (2015-07-08 00:22:39 UTC) #7
Ryan Sleevi
https://codereview.chromium.org/1217653006/diff/260001/net/cert/internal/signature_algorithm.cc File net/cert/internal/signature_algorithm.cc (right): https://codereview.chromium.org/1217653006/diff/260001/net/cert/internal/signature_algorithm.cc#newcode400 net/cert/internal/signature_algorithm.cc:400: if (parser.HasMore()) This is fine https://codereview.chromium.org/1217653006/diff/260001/net/cert/internal/signature_algorithm.cc#newcode445 net/cert/internal/signature_algorithm.cc:445: if (params_parser.HasMore()) ...
5 years, 5 months ago (2015-07-08 11:30:39 UTC) #8
eroman
https://codereview.chromium.org/1217653006/diff/260001/net/cert/internal/signature_algorithm.cc File net/cert/internal/signature_algorithm.cc (right): https://codereview.chromium.org/1217653006/diff/260001/net/cert/internal/signature_algorithm.cc#newcode445 net/cert/internal/signature_algorithm.cc:445: if (params_parser.HasMore()) On 2015/07/08 11:30:39, Ryan Sleevi (slow through ...
5 years, 5 months ago (2015-07-14 20:50:27 UTC) #9
Ryan Sleevi
lgtm
5 years, 5 months ago (2015-07-16 03:52:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1217653006/350001
5 years, 5 months ago (2015-07-17 01:07:24 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_arm_compile on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_arm_compile/builds/22342)
5 years, 5 months ago (2015-07-17 03:07:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1217653006/350001
5 years, 5 months ago (2015-07-18 21:39:27 UTC) #17
commit-bot: I haz the power
Committed patchset #19 (id:350001)
5 years, 5 months ago (2015-07-18 22:38:07 UTC) #18
commit-bot: I haz the power
5 years, 5 months ago (2015-07-18 22:39:06 UTC) #19
Message was sent while issue was closed.
Patchset 19 (id:??) landed as
https://crrev.com/528dcd1e4320c6b2bb80154a07def2ab53340278
Cr-Commit-Position: refs/heads/master@{#339400}

Powered by Google App Engine
This is Rietveld 408576698