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

Issue 26911006: crypto: Implement ECSignatureCreatorImpl for OpenSSL (Closed)

Created:
7 years, 2 months ago by digit1
Modified:
7 years, 1 month ago
Reviewers:
agl, wtc, Ryan Sleevi
CC:
chromium-reviews
Base URL:
https://codereview.chromium.org/27195002/
Visibility:
Public.

Description

crypto: Implement ECSignatureCreatorImpl for OpenSSL BUG=306176 TEST=crypto_unittests --gtest_filter=ECSignatureCreatorTest.* R=rsleevi@chromium.org,agl@chromium.org,wtc@chromium.org

Patch Set 1 #

Total comments: 6

Patch Set 2 : man BN_num_bytes #

Patch Set 3 : Formatting #

Total comments: 4

Patch Set 4 : Rebase + nits. #

Total comments: 10

Patch Set 5 : wtc fixes. #

Total comments: 1

Patch Set 6 : Fix Android build #

Patch Set 7 : Fix mac build. #

Patch Set 8 : Trivial rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -17 lines) Patch
M crypto/ec_signature_creator_openssl.cc View 1 2 3 4 5 2 chunks +59 lines, -6 lines 0 comments Download
M crypto/ec_signature_creator_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -11 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
digit1
7 years, 2 months ago (2013-10-15 12:01:17 UTC) #1
agl
https://codereview.chromium.org/26911006/diff/1/crypto/ec_signature_creator_openssl.cc File crypto/ec_signature_creator_openssl.cc (right): https://codereview.chromium.org/26911006/diff/1/crypto/ec_signature_creator_openssl.cc#newcode32 crypto/ec_signature_creator_openssl.cc:32: // output format. To work-around this, perform the operations ...
7 years, 2 months ago (2013-10-15 15:00:08 UTC) #2
digit1
https://codereview.chromium.org/26911006/diff/1/crypto/ec_signature_creator_openssl.cc File crypto/ec_signature_creator_openssl.cc (right): https://codereview.chromium.org/26911006/diff/1/crypto/ec_signature_creator_openssl.cc#newcode32 crypto/ec_signature_creator_openssl.cc:32: // output format. To work-around this, perform the operations ...
7 years, 2 months ago (2013-10-15 15:41:52 UTC) #3
agl
lgtm https://codereview.chromium.org/26911006/diff/8001/crypto/ec_signature_creator_openssl.cc File crypto/ec_signature_creator_openssl.cc (right): https://codereview.chromium.org/26911006/diff/8001/crypto/ec_signature_creator_openssl.cc#newcode39 crypto/ec_signature_creator_openssl.cc:39: if (!EVP_DigestSignFinal(ctx.get(), &(*signature)[0], &sig_len)) &signature->front() might be easier ...
7 years, 2 months ago (2013-10-15 16:24:08 UTC) #4
digit1
https://codereview.chromium.org/26911006/diff/8001/crypto/ec_signature_creator_openssl.cc File crypto/ec_signature_creator_openssl.cc (right): https://codereview.chromium.org/26911006/diff/8001/crypto/ec_signature_creator_openssl.cc#newcode39 crypto/ec_signature_creator_openssl.cc:39: if (!EVP_DigestSignFinal(ctx.get(), &(*signature)[0], &sig_len)) On 2013/10/15 16:24:08, agl wrote: ...
7 years, 2 months ago (2013-10-15 19:32:27 UTC) #5
agl
lgtm
7 years, 2 months ago (2013-10-15 19:35:43 UTC) #6
Ryan Sleevi
lgtm https://codereview.chromium.org/26911006/diff/13001/crypto/ec_signature_creator_openssl.cc File crypto/ec_signature_creator_openssl.cc (right): https://codereview.chromium.org/26911006/diff/13001/crypto/ec_signature_creator_openssl.cc#newcode20 crypto/ec_signature_creator_openssl.cc:20: : key_(key), signature_len_(0) { STYLE: per the style ...
7 years, 2 months ago (2013-10-15 19:49:01 UTC) #7
digit1
https://codereview.chromium.org/26911006/diff/13001/crypto/ec_signature_creator_openssl.cc File crypto/ec_signature_creator_openssl.cc (right): https://codereview.chromium.org/26911006/diff/13001/crypto/ec_signature_creator_openssl.cc#newcode20 crypto/ec_signature_creator_openssl.cc:20: : key_(key), signature_len_(0) { Thanks, but that's already the ...
7 years, 2 months ago (2013-10-15 19:54:16 UTC) #8
wtc
Patch set 4 LGTM. https://codereview.chromium.org/26911006/diff/13001/crypto/ec_signature_creator_openssl.cc File crypto/ec_signature_creator_openssl.cc (right): https://codereview.chromium.org/26911006/diff/13001/crypto/ec_signature_creator_openssl.cc#newcode36 crypto/ec_signature_creator_openssl.cc:36: return false; Nit: we usually ...
7 years, 2 months ago (2013-10-15 23:25:29 UTC) #9
digit1
https://codereview.chromium.org/26911006/diff/13001/crypto/ec_signature_creator_openssl.cc File crypto/ec_signature_creator_openssl.cc (right): https://codereview.chromium.org/26911006/diff/13001/crypto/ec_signature_creator_openssl.cc#newcode36 crypto/ec_signature_creator_openssl.cc:36: return false; I've added them. Apparently the formatter doesn't ...
7 years, 2 months ago (2013-10-17 14:22:06 UTC) #10
wtc
Patch set 5 LGTM. https://codereview.chromium.org/26911006/diff/21001/crypto/ec_signature_creator_openssl.cc File crypto/ec_signature_creator_openssl.cc (right): https://codereview.chromium.org/26911006/diff/21001/crypto/ec_signature_creator_openssl.cc#newcode61 crypto/ec_signature_creator_openssl.cc:61: const size_t kMaxBytesPerBN = 32; ...
7 years, 2 months ago (2013-10-17 20:51:10 UTC) #11
digit1
I can't seem to trigger a CQ build when toggling the "Commit" checkbox on this ...
7 years, 2 months ago (2013-10-23 17:22:26 UTC) #12
agl
On 2013/10/23 17:22:26, digit1 wrote: > I can't seem to trigger a CQ build when ...
7 years, 2 months ago (2013-10-23 18:19:31 UTC) #13
digit1
Thanks, I'll first upload a trivial rebase, to check just in case, then do just ...
7 years, 2 months ago (2013-10-24 11:15:14 UTC) #14
digit1
7 years, 1 month ago (2013-10-29 10:23:29 UTC) #15
Commited as https://chromiumcodereview.appspot.com/43663005/, closing this issue
now.

Powered by Google App Engine
This is Rietveld 408576698