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

Issue 5047003: Implements RSAPrivateKey for openssl. (Closed)

Created:
10 years, 1 month ago by joth
Modified:
9 years, 7 months ago
Reviewers:
bulach, agl
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, wtc, Ryan Sleevi
Visibility:
Public.

Description

Implements RSAPrivateKey for openssl. Leaves the declared NSS-only methods (CreateSensitive.. & FindFromPublicKeyInfo) as UNIMPLEMENTED. BUG=None TEST=base_unittests --gtest_filter=RSA* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66438

Patch Set 1 #

Patch Set 2 : rebased to trunk #

Total comments: 8

Patch Set 3 : bulach comments #

Total comments: 1

Patch Set 4 : git diff trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -31 lines) Patch
M base/crypto/rsa_private_key.h View 3 chunks +8 lines, -3 lines 0 comments Download
M base/crypto/rsa_private_key_openssl.cc View 1 2 3 3 chunks +83 lines, -28 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
joth
10 years, 1 month ago (2010-11-16 21:09:37 UTC) #1
bulach
LGTM thanks joth! few suggestions below: http://codereview.chromium.org/5047003/diff/2001/base/crypto/rsa_private_key_openssl.cc File base/crypto/rsa_private_key_openssl.cc (right): http://codereview.chromium.org/5047003/diff/2001/base/crypto/rsa_private_key_openssl.cc#newcode30 base/crypto/rsa_private_key_openssl.cc:30: int res = ...
10 years, 1 month ago (2010-11-17 11:52:29 UTC) #2
joth
Thanks! Let me know if you has another idea about ScopedOpenSSL....? http://codereview.chromium.org/5047003/diff/2001/base/crypto/rsa_private_key_openssl.cc File base/crypto/rsa_private_key_openssl.cc (right): ...
10 years, 1 month ago (2010-11-17 14:31:24 UTC) #3
agl
LGTM http://codereview.chromium.org/5047003/diff/7001/base/crypto/rsa_private_key_openssl.cc File base/crypto/rsa_private_key_openssl.cc (right): http://codereview.chromium.org/5047003/diff/7001/base/crypto/rsa_private_key_openssl.cc#newcode26 base/crypto/rsa_private_key_openssl.cc:26: // |export_private| is true the full key is ...
10 years, 1 month ago (2010-11-17 14:32:32 UTC) #4
joth
10 years, 1 month ago (2010-11-17 14:35:19 UTC) #5
Thanks! Yep I forgot to update that comment...

On 17 November 2010 14:32, <agl@chromium.org> wrote:

> LGTM
>
>
>
>
http://codereview.chromium.org/5047003/diff/7001/base/crypto/rsa_private_key_...
>
> File base/crypto/rsa_private_key_openssl.cc (right):
>
>
>
http://codereview.chromium.org/5047003/diff/7001/base/crypto/rsa_private_key_...
> base/crypto/rsa_private_key_openssl.cc:26: // |export_private| is true
> the full key is exported, otherwise only the
> export_private doesn't appear to be an argument.
>
>
> http://codereview.chromium.org/5047003/
>

Powered by Google App Engine
This is Rietveld 408576698