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

Issue 575019: Add some convenience/helper functions for RSA. (Closed)

Created:
10 years, 10 months ago by gauravsh
Modified:
9 years, 6 months ago
Reviewers:
sosa
CC:
chromium-os-reviews_googlegroups.com
Visibility:
Public.

Description

Add some convenience/helper functions for RSA. Modify test utility to use the new function. BUG=670 TEST=RSA verification test using the convenience function is passes.

Patch Set 1 #

Patch Set 2 : Add modified test program. #

Total comments: 6

Patch Set 3 : Add comment to size calculation. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -38 lines) Patch
M src/platform/vboot_reference/crypto/Makefile View 1 chunk +1 line, -1 line 0 comments Download
A src/platform/vboot_reference/crypto/rsa_utility.c View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
A src/platform/vboot_reference/include/rsa_utility.h View 1 chunk +21 lines, -0 lines 0 comments Download
M src/platform/vboot_reference/tests/verify_data.c View 2 chunks +21 lines, -37 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
gauravsh
10 years, 10 months ago (2010-02-05 04:13:38 UTC) #1
sosa
In general, you may want to change all your include files to include from vboot_reference ...
10 years, 10 months ago (2010-02-05 19:16:45 UTC) #2
gauravsh
http://codereview.chromium.org/575019/diff/1001/1003 File src/platform/vboot_reference/crypto/rsa_utility.c (right): http://codereview.chromium.org/575019/diff/1001/1003#newcode8 src/platform/vboot_reference/crypto/rsa_utility.c:8: #include "padding.h" On 2010/02/05 19:16:45, sosa wrote: > You ...
10 years, 10 months ago (2010-02-05 19:34:26 UTC) #3
sosa
lgtm. No if it's stand-alone that's fine http://codereview.chromium.org/575019/diff/5001/3005 File src/platform/vboot_reference/tests/verify_data.c (right): http://codereview.chromium.org/575019/diff/5001/3005#newcode82 src/platform/vboot_reference/tests/verify_data.c:82: uint8_t* digest ...
10 years, 10 months ago (2010-02-05 19:37:59 UTC) #4
gauravsh
10 years, 10 months ago (2010-02-05 19:40:45 UTC) #5
Pushing...

http://codereview.chromium.org/575019/diff/5001/3005
File src/platform/vboot_reference/tests/verify_data.c (right):

http://codereview.chromium.org/575019/diff/5001/3005#newcode82
src/platform/vboot_reference/tests/verify_data.c:82: uint8_t* digest = NULL;
On 2010/02/05 19:37:59, sosa wrote:
> Is this extra whitespace?
No, I think it's just the diff, as I split the declaration to separate lines.

Powered by Google App Engine
This is Rietveld 408576698