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

Issue 604016: Vboot Reference: Move test key generation to a separate script and add sample test keys. (Closed)

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

Description

Vboot Reference: Move test key generation to a separate script and add sample test keys. Key generation takes a long time. This will be useful in driving the cryptosuite through autotest.

Patch Set 1 #

Patch Set 2 : Fix Makefile to allow standalone test compilation. #

Total comments: 12

Patch Set 3 : Fix nits. #

Total comments: 4

Patch Set 4 : Fix spacing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -19 lines) Patch
M src/platform/vboot_reference/tests/Makefile View 2 3 1 chunk +8 lines, -5 lines 0 comments Download
A src/platform/vboot_reference/tests/gen_test_keys.sh View 1 chunk +32 lines, -0 lines 0 comments Download
M src/platform/vboot_reference/tests/run_tests.sh View 1 2 3 4 chunks +7 lines, -18 lines 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa1024.crt View Binary file 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa1024.keyb View 0 chunks +-1 lines, --1 lines 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa1024.pem View 1 chunk +15 lines, -0 lines 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa2048.crt View Binary file 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa2048.keyb View 0 chunks +-1 lines, --1 lines 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa2048.pem View 1 chunk +27 lines, -0 lines 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa4096.crt View Binary file 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa4096.keyb View 0 chunks +-1 lines, --1 lines 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa4096.pem View 1 chunk +51 lines, -0 lines 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa8192.crt View Binary file 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa8192.keyb View 0 chunks +-1 lines, --1 lines 0 comments Download
A src/platform/vboot_reference/tests/testkeys/key_rsa8192.pem View 1 chunk +99 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
gauravsh
Ignore the previous review, use this instead. I deleted my local git branch associated with ...
10 years, 10 months ago (2010-02-11 03:26:00 UTC) #1
petkov
A few nits. http://codereview.chromium.org/604016/diff/2001/3001 File src/platform/vboot_reference/tests/Makefile (right): http://codereview.chromium.org/604016/diff/2001/3001#newcode6 src/platform/vboot_reference/tests/Makefile:6: CFLAGS=-Wall -ansi No spaces around = ...
10 years, 10 months ago (2010-02-11 05:30:20 UTC) #2
gauravsh
http://codereview.chromium.org/604016/diff/2001/3001 File src/platform/vboot_reference/tests/Makefile (right): http://codereview.chromium.org/604016/diff/2001/3001#newcode6 src/platform/vboot_reference/tests/Makefile:6: CFLAGS=-Wall -ansi On 2010/02/11 05:30:21, petkov wrote: > No ...
10 years, 10 months ago (2010-02-11 05:43:44 UTC) #3
petkov
LGTM http://codereview.chromium.org/604016/diff/6001/6002 File src/platform/vboot_reference/tests/Makefile (right): http://codereview.chromium.org/604016/diff/6001/6002#newcode10 src/platform/vboot_reference/tests/Makefile:10: LIBS=$(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a spaces around = then. http://codereview.chromium.org/604016/diff/6001/6004 File ...
10 years, 10 months ago (2010-02-11 06:32:01 UTC) #4
gauravsh
10 years, 10 months ago (2010-02-11 07:06:53 UTC) #5
Fixed your comments below. Committing..

http://codereview.chromium.org/604016/diff/6001/6002
File src/platform/vboot_reference/tests/Makefile (right):

http://codereview.chromium.org/604016/diff/6001/6002#newcode10
src/platform/vboot_reference/tests/Makefile:10: LIBS=$(TOP)/crypto/libcrypto.a
$(TOP)/common/libcommon.a
On 2010/02/11 06:32:01, petkov wrote:
> spaces around = then.
Done.

http://codereview.chromium.org/604016/diff/6001/6004
File src/platform/vboot_reference/tests/run_tests.sh (right):

http://codereview.chromium.org/604016/diff/6001/6004#newcode27
src/platform/vboot_reference/tests/run_tests.sh:27: >
$1.rsa${keylen}\_${hashalgo}.sig
On 2010/02/11 06:32:01, petkov wrote:
> Is the \ in \_ necessary?
> 

No, fixed.

Powered by Google App Engine
This is Rietveld 408576698